Antonin Hildebrand
f91954be76
optimization: write static file to the destination only if source file timestamp differs
...
Also make sure static files get regenerated when they are missing in destination.
This is useful in --server --auto mode when it reduces disk/cpu load and also plays nice with xrefresh-server (which was my main motivation) -> soft CSS refresh works again!
2010-06-20 08:02:16 +02:00
Kris Brown
98fa570c86
added support for consistent site.time in payload, generating the site at a specific time and limiting future posts
...
squish
2010-02-26 20:52:41 +00:00
Kris Brown
0cb1ebcda1
split process handling into phases to allow pages to have access to full and complete site payload and added some test improvements
2010-01-05 17:05:44 +00:00
Stefan Saasen
e39810c984
Fix exception that causes jekyll to fail when using CRLF (0d0a) linebreaks in YAML front matter.
...
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-23 08:10:38 -04:00
Gaius Novus
5468548948
creating a Site with an invalid Markdown processor fails sooner and gives a better error message
...
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-23 08:10:33 -04:00
Nick Quaranto
86b1450234
Adding tags to the site payload. Derived mostly from Henrik's implementation in 072d9e7
2009-05-18 18:28:56 -04:00
Nick Quaranto
53368cc3e1
Making sure excludes can work with a YAML array
2009-05-01 08:28:00 -04:00
Nick Quaranto
8d0e3dd0e2
Reset posts, layouts, and categories before processing to prevent duplication when regenerating
2009-04-03 08:39:40 -04:00
Nick Quaranto
ae4e7725bf
Bringing back the test_site tests
2009-03-18 08:37:03 -04:00
Nick Quaranto
c60be9c571
Stubbing out the configuration makes for much less warnings.
2009-03-17 23:17:51 -04:00
Josh Nichols and Nick Quaranto
a5155c8e00
Fixed tests (... or commented them out). We rule.
2009-03-17 21:13:08 -04:00
Josh Nichols and Nick Quaranto
d602600394
Fixed test_generated_site.
2009-03-17 20:44:25 -04:00
Josh Nichols and Nick Quaranto
18b512a531
Merge branch 'qrush/shoulda' into can_has_good_tests
...
Conflicts:
test/test_generated_site.rb
test/test_post.rb
test/test_site.rb
test/test_tags.rb
2009-03-17 20:31:10 -04:00
mreid
cb13ea3000
Rebased with mojombo. All tests pass. Some conflicts with Liquid and Maruku
2009-03-12 21:25:34 +11:00
Mark
6edfae8c26
Refactored configuration and command-line option code
2009-03-12 20:51:11 +11:00
Tom Preston-Werner
a67cea2637
four foo category posts now
2009-03-10 16:53:43 -07:00
Nick Quaranto
0e132bf2cb
Upgrading the rest of the tests to shoulda
2009-03-05 21:54:52 -05:00
Bjørn Arild Mæland
fab8442432
Factored the filtering code into a method
2009-02-25 21:44:07 +01:00
Nick Quaranto
efdd5ef395
Making sure that posts flagged as published: false don't get rendered or copied.
2009-02-10 01:13:36 -05:00
Nick Quaranto
ad617da4e0
Added publish flag to posts, not preventing it from being in the destination directory yet.
2009-02-10 01:13:31 -05:00
Nick Quaranto
1211f23b53
Adding support for setting post categories through YAML if not specified by directory structure
2009-02-10 01:12:20 -05:00
Tom Preston-Werner
04a283f618
prevent equivalent array from breaking tests
2009-01-23 14:33:14 -08:00
Josh Dady
bac34fab3a
Test and fix the site.categories hash
2008-12-25 13:49:56 -05:00
Tom Preston-Werner
dad9a31559
fix categories and add topics
2008-12-24 15:25:42 -08:00
remi
b45fd65a36
added tests to confirm that {{ site.posts }} in index.html was empty and {{ post.content }} wasn't rendering (both are now fixed)
2008-12-23 05:32:25 -07:00
Tom Preston-Werner
d0fbfca205
fix location of permalink test post
2008-12-21 22:12:40 -08:00
Mark Reid
3a8f7a8e3a
Added post categories based on directories containing _posts
2008-12-16 17:52:00 +11:00
Tom Preston-Werner
8b2aedc951
implement include tag
2008-12-13 17:12:38 -08:00
Tom Preston-Werner
4f951b9b5d
send introspection data to posts
2008-11-21 18:48:35 -08:00
Tom Preston-Werner
45db2ba40f
fix layout tests
2008-11-05 22:05:24 -05:00
Tom Preston-Werner
f06d2e60da
clean up tests
2008-10-19 22:21:45 -07:00
Tom Preston-Werner
1c93bd0ce8
write posts to disk
2008-10-19 21:56:53 -07:00
Tom Preston-Werner
6c0eeb573e
read posts
2008-10-19 20:12:49 -07:00
Tom Preston-Werner
6fb91f4f7d
cleanup and tests
2008-10-19 19:45:47 -07:00