Commit graph

97 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 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 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 6f4c1b816a default to redcarpet for markdown. closes #196 2011-12-11 16:02:40 -08:00
Thomas Reynolds f2221cd9a0 make sure failed builds exit with correct status code 2011-12-11 15:49:13 -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 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 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 dd0836b9d5 maruku is abandonware, default to rdiscount 2011-11-30 10:11:08 -08:00
Thomas Reynolds 4b8beba7a3 initial tests for file change api 2011-11-29 22:26:01 -08:00
Thomas Reynolds 2ed409b5e1 make sure chained templates work with data 2011-11-29 11:49:42 -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 223cf09c8f Merge pull request #170 from bhollis/partials
Fix partials with locals
2011-11-27 22:07:49 -08:00
Ben Hollis 7a4d8c7533 Fix partials with locals 2011-11-27 21:56:21 -08:00
Ben Hollis 0cc00a74b4 Include .htaccess files when building a site. 2011-11-27 20:24:19 -08:00
Thomas Reynolds 7ab8f0cdd1 support for svgz gzip 2011-11-26 23:09:18 -08:00
Thomas Reynolds 4cfbd6e5d9 include svg when looking for image extensions 2011-11-26 20:53:05 -08:00
Thomas Reynolds e2fdd9a4d3 add more content_for helpers, disable caching for now 2011-11-26 18:12:15 -08:00
Thomas Reynolds 7c50c9e4d5 tests for partials 2011-11-26 15:32:41 -08:00
Thomas Reynolds 3ce5adac3c change how layouts work 2011-11-25 16:09:31 -08:00
Thomas Reynolds 47eb29bcfe fix template read cache 2011-11-18 21:46:26 -08:00
Thomas Reynolds 4ceb9bab41 fix relative assets and sprockets js 2011-11-18 17:37:01 -08:00
Thomas Reynolds 0e5ce50787 rename old padrino tests, remove sinatra tests, use metadata hooks for frontmatter and liquid 2011-11-18 13:38:18 -08:00
Thomas Reynolds c82a40dde5 rackmap hates me 2011-11-18 00:34:56 -08:00
Thomas Reynolds ff2eddf5b8 attempt some speedups 2011-11-10 15:56:04 -08:00
Thomas Reynolds 2682bbf6ea simpler guard-based frontmatter, use rackmap everywhere (tests, server, build) 2011-11-10 12:26:20 -08:00
Thomas Reynolds b5561227f8 sitemap works, tests pass 2011-11-07 22:34:02 -08:00
Thomas Reynolds 08593fddff watch app/assets as well 2011-10-27 23:36:19 -07:00
Thomas Reynolds efd598d913 more sprockets tests 2011-10-26 09:38:47 -07:00