Commit graph

128 commits

Author SHA1 Message Date
Thomas Reynolds 7e86ed058f Allow extensions to take params and blocks 2011-12-25 10:06:45 -08:00
Eric Skogen cf6661fa45 new page features useful for sitemap traversal
support indexes which use the `directory_index` extension
add a `data` accessor to pages
2011-12-25 01:02:50 -06:00
Thomas Reynolds 75fba6aa54 support placekitten.com 2011-12-23 14:53:03 -08:00
Thomas Reynolds 488fa579f9 sitemap tree traversal. closes #207 2011-12-23 12:04:38 -08:00
Thomas Reynolds 82cd984a29 new default template thanks to @evenwu. closes #188 2011-12-23 10:58:56 -08:00
Thomas Reynolds 557aae372b new default template thanks to @evenwu 2011-12-23 10:55:25 -08:00
Thomas Reynolds 4f78ecf367 test missing config error, fix nasty frontmatter caching bug. closes #209 2011-12-22 21:19:49 -08:00
Eric Skogen 24664e4bba demonstrate bug with nested_layouts and YAML front matter 2011-12-22 16:38:34 -06:00
Thomas Reynolds ecea540ec7 nested layouts. closes #208 2011-12-22 00:42:14 -08:00
Thomas Reynolds 98b2b293c1 Fix custom commands for Ruby 1.9.x 2011-12-21 12:13:28 -08:00
Thomas Reynolds 21388f2103 test 3rd party commands 2011-12-21 11:11:38 -08:00
Thomas Reynolds 7e20616fe6 change cf error 2011-12-20 17:15:26 -08:00
Thomas Reynolds 0692e71b63 test built in template and flags 2011-12-15 22:11:59 -08:00
Thomas Reynolds 104abe71dd fix fonts test 2011-12-15 16:40:07 -08:00
Thomas Reynolds 4b9f5771c2 fix directory indexes tests 2011-12-15 16:36:57 -08:00
Thomas Reynolds 43e6d669b5 fix clean tests 2011-12-15 16:33:09 -08:00
Thomas Reynolds 151c47672e update chained template test syntax 2011-12-15 16:21:34 -08:00
Thomas Reynolds 40986f17da Use Arbua for CLI testing. This is going to be HUGE 2011-12-15 16:05:15 -08:00
Thomas Reynolds bc93d842dc Fix redcarpet 2 extensions and add test cases. Fixes #200 2011-12-14 10:22:06 -08:00
Thomas Reynolds 0b5094e953 fix compressors. closes #192 2011-12-12 14:20:39 -08:00
Thomas Reynolds f4436eb49e testing alternative (passthrough) compressor works inline, but not through Sprockets 2011-12-12 13:54:04 -08:00
Ben Hollis b73c58e59d Merge pull request #185 from bhollis/instancevars
Scenario for using instance vars to pass data to layouts and templates, and prevent changes to instance vars being shared between different templates.
2011-12-11 20:15:55 -08:00
Ben Hollis 97dc2c9742 Scenario for using instance vars to pass data to layouts and templates, and prevent
changes to instance vars being shared between different templates.
2011-12-11 20:13:41 -08:00
Thomas Reynolds 433275d71f frontmatter extensions. closes #191 2011-12-11 16:22:38 -08:00
Thomas Reynolds f2221cd9a0 make sure failed builds exit with correct status code 2011-12-11 15:49:13 -08:00
Thomas Reynolds 1feea222c0 test image copy. closes #153 2011-12-09 10:53:15 -08:00
Thomas Reynolds 7da1edeb6e support old request.path api 2011-12-09 10:25:51 -08:00
Thomas Reynolds aa0832f549 Pull test case from bhollis, now passes with metadata cache changes. Fixes #184 2011-12-07 21:05:53 -08:00
Thomas Reynolds 745ce14624 test wildcard pages 2011-12-07 11:26:49 -08:00
Thomas Reynolds 9b07bf24dd add test for helpers in external files 2011-12-06 10:28:55 -08:00
Thomas Reynolds 833a229770 fix multi engine partials 2011-12-01 23:05:03 -08:00
Thomas Reynolds 6a03a60cf7 Merge pull request #178 from audionerd/master
Example of partial and layout using different engines
2011-12-01 22:25:31 -08:00
Thomas Reynolds 51a00c4174 add very basic lorem test 2011-12-01 08:43:26 -08:00
Eric Skogen 5c07fd0ea9 fix typos in test for partials with engine different than layout 2011-12-01 02:35:40 -06:00
Eric Skogen c6209b2869 Merge branch 'master' of git://github.com/tdreyno/middleman 2011-12-01 01:58:23 -06:00
Ben Hollis 167b213a07 Fix build --clean when the build directory doesn't exist.
Before this fix, "build --clean" with no build directory would do
nothing. Now it behaves just like a normal build.
2011-11-30 23:07:09 -08:00
Ben Hollis 8648aaed7c Fix build --clean when paths are rerouted.
This was mostly apparent when using directory indexes - because the
rewrite of the destination path happened after the point where the
path was removed from the "to clean" list, directory indexes would
get removed on the next build --clean.
2011-11-30 23:07:09 -08:00
Eric Skogen 721c2112e1 clarify wording of test 2011-12-01 00:39:50 -06:00
Eric Skogen ca68c7f944 add failing test for a partial with a different engine than the layout 2011-12-01 00:38:34 -06:00
Thomas Reynolds 073a8dee74 add test for simple sinatra/rack app mounting 2011-11-30 10:17:23 -08:00
Thomas Reynolds 4b8beba7a3 initial tests for file change api 2011-11-29 22:26:01 -08:00
Thomas Reynolds baa3c32b45 cleanup generator feature steps 2011-11-29 22:12:33 -08:00
Thomas Reynolds e02173425b reorg cucumber steps so gem extensions can reuse them 2011-11-29 14:17:07 -08:00
Thomas Reynolds 451b9e5f46 test chained templates build 2011-11-29 11:51:01 -08:00
Thomas Reynolds 2ed409b5e1 make sure chained templates work with data 2011-11-29 11:49:42 -08:00
Thomas Reynolds 0898ff6d42 Merge pull request #172 from bhollis/master
Build .htaccess files (and other things in the sitemap) directly even when directory-indexes are on
2011-11-28 08:52:01 -08:00
Ben Hollis 67fe8215e8 Build .htaccess files (and other things in the sitemap) directly even when directory-indexes are on 2011-11-28 00:18:13 -08:00
Thomas Reynolds e405a233c6 Merge pull request #171 from bhollis/frontmatter
Frontmatter was not being removed from template source
2011-11-27 23:27:59 -08:00
Ben Hollis db890f904b Test to make sure frontmatter doesn't get left behind in template source 2011-11-27 22:15:56 -08:00
Thomas Reynolds 223cf09c8f Merge pull request #170 from bhollis/partials
Fix partials with locals
2011-11-27 22:07:49 -08:00