mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
79c39b5d88
When handling chained templates, middleman used to remove the path and kept only the file's basename. Template engines which support imports (e.g. less or sass), use the file's path to find files to include. Since the path was removed, imports were not working for chained templates. This commit changes middleman to keep the full path to the template file and adds a test case, which illustrates the desired behavior. |
||
---|---|---|
.. | ||
stylesheets | ||
index.html.str.erb | ||
test.erb.combobreaker.str.erb |