Commit graph

100 commits

Author SHA1 Message Date
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 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
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 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 931253469d fix cache_buster (include ancient bug 2011-11-18 17:03:09 -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 2682bbf6ea simpler guard-based frontmatter, use rackmap everywhere (tests, server, build) 2011-11-10 12:26:20 -08:00
Thomas Reynolds 537fdbb76b coffeescript changed its error message 2011-11-08 16:21:05 -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
Thomas Reynolds 8aa4765524 try to test sprockets vendored css 2011-10-19 20:45:11 -07:00
Thomas Reynolds 5cc96210ce Compass support in Sprockets 2011-10-19 16:21:46 -07:00
Thomas Reynolds e4bbed33c5 add some build cleaning tests 2011-10-15 11:21:56 -07:00
Thomas Reynolds bfc32ee0ef fix relative assets test 2011-09-20 10:21:38 -07:00
Thomas Reynolds 0d9a7e8edc Add some tests for font paths, closes #117 2011-09-20 09:27:02 -07:00
Thomas Reynolds 4fe75da020 font directory fixes 2011-09-17 12:52:40 -07:00
Thomas Reynolds 41df43092d tests for data in config.rb, closes #118 2011-09-17 12:43:31 -07:00
Thomas Reynolds 61d7e8abed allow build to use glob 2011-09-12 16:15:51 -07:00
Thomas Reynolds bc7ee29486 make json a valid data format 2011-09-12 10:20:34 -07:00
Thomas Reynolds 68f2527923 rearchitect some callbacks, add liquid partial support. closes #115 2011-09-08 23:06:22 -07:00
Thomas Reynolds 6eadb0e888 inject yaml data into liquid templates. closes #111 2011-09-06 11:13:56 -07:00
Thomas Reynolds d7f39350d5 sprockets ignores extensions after .js in build mode. closes #110 2011-08-31 13:27:29 -07:00
Thomas Reynolds cc577c0c73 give sprockets access to middleman environment scope (variables, data, etc) 2011-08-31 13:15:59 -07:00
Thomas Reynolds af9e4989e3 allow setting of markdown engine with symbol 2011-08-31 12:22:45 -07:00
Thomas Reynolds da4ead8cf2 test sprockets with custom js_dir 2011-08-09 11:12:20 -07:00