5920e6fbb3
fix year
2016-04-11 18:17:07 -07:00
6858634c4e
commit index.ejs files for new years
2016-03-28 09:18:11 -07:00
9697cab77b
Revert "stort drafts newest first"
...
This reverts commit 7375cb06e0 .
2015-05-28 09:49:16 -07:00
7375cb06e0
stort drafts newest first
2015-05-25 21:54:43 -07:00
cdfb2c96d6
make sure public/_data.json is committed on publish/unpublish
2015-05-15 20:49:38 -07:00
7cf0a2925b
slight optimization
2015-05-15 19:32:26 -07:00
a23216cc45
actually, commit for staging too
2015-05-15 19:07:25 -07:00
97f7afd9fe
cleanup after publishing to staging
2015-05-15 19:06:21 -07:00
26a3f1a0e0
squish some warnings
2015-05-12 09:05:50 -07:00
8b356c50d4
commit root _data.json when publishing/unpublishing & create year indexes
...
That file contains the posts on the homepage, which obviously change on
publish/unpublish. Should have been more obvious to me earlier when I
wrote the code, but hey.
2015-05-12 00:07:18 -07:00
7572b2917f
set @mutated in the right place
2015-05-11 21:20:18 -07:00
732da17859
only wait for compilation unless when necessary
2015-05-09 17:30:03 -07:00
b504f87e3c
fix path of posts added to git
2015-05-09 16:19:29 -07:00
411700b6ef
fix unlink
2015-04-25 00:40:12 -07:00
27de556ab5
fix specs
2015-04-25 00:39:01 -07:00
7aa42fdbf8
one more shot
2015-04-25 00:28:19 -07:00
0a68892774
fix origin-updated path
2015-04-25 00:23:00 -07:00
4513df26f5
update from github if necessary, and implement "sync" aka 'git push'
2015-04-25 00:03:41 -07:00
cc2c491509
allow missing titles
2015-04-22 00:34:18 -07:00
f54e5f12e5
update draft timestamps with every edit
2015-04-19 21:54:32 -07:00
2fb181dbcb
gracefully handle saving posts without titles
2015-04-19 16:11:51 -07:00
5830cb08c1
delegate preview to a real harp server
2015-04-19 11:08:03 -07:00
01a7ad64d7
use File.write instead of File.open for simple writes
2015-04-19 11:00:34 -07:00
e44afbe80d
implement previewing posts & drafts
2015-04-19 10:41:47 -07:00
1dbd243008
tighten up params to HarpBlog#post_path
2015-04-19 10:40:08 -07:00
9239d4110d
fix return value of HarpBlog#compile_if_mutated
2015-04-19 10:03:54 -07:00
c6a388967e
preview is unimplemented
2015-03-29 22:12:56 -07:00
75bd85d66f
compile the blog when it changes
2015-03-29 22:01:42 -07:00
ff5f87ff80
run non-destructive shell commands during dry runs
2015-03-29 21:56:51 -07:00
09b1224646
move HarpBlog::Post to its own file
2015-03-29 21:03:43 -07:00
c905f5c414
use IDs instead of slugs for posts
...
Drafts don’t have reliable slugs until they’re published so give them
UUIDs, and lookup posts by ID instead of slug.
2015-03-29 19:42:38 -07:00
d9731944c2
use environment for configuration
2015-03-30 02:33:06 +00:00
03a9143b5a
rename a variable
2014-11-23 20:47:55 -08:00
56a2de1ebc
implement publish and unpublish
2014-10-18 18:41:20 -07:00
c8f543122b
expose drafts via HarpBlog and the API
2014-10-18 18:05:07 -07:00
3546ab2952
add dirty checking and version support to HarpBlog
2014-10-18 15:33:52 -07:00
f0b3174e61
add HarpBlog#months and expose as GET /months
2014-10-18 02:35:19 -07:00
291e40f859
put test repos in a better location, fix other bugs
2014-10-18 02:34:58 -07:00
5c6399b558
add a class that knows how to manage this harp blog: HarpBlog
2014-10-18 01:37:39 -07:00