nmcteam / mulch

A frontend gulpfile boilerplate that uses Twig.js, LESS and/or SASS compilation and BrowserSync. Perfect for PHP CMS projects.
MIT License
15 stars 5 forks source link

Feature/exclude partials in compile #11

Closed olets closed 8 years ago

olets commented 8 years ago

Excludes template files and template directories starting with a hyphen from the compiled markup

olets commented 8 years ago

Fixes https://github.com/nmcteam/mulch/issues/9

JoelSutherland commented 8 years ago

If templates shouldn't be compiled they shouldn't be in the urls folder. I think that is a much more straightforward approach than adding an additional convention. Since siblings to the urls folder can be reference in includes/extends via ../ I think the solution here is better documentation.

olets commented 8 years ago

You're right, that's better