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

drop html extension from twig task globs? #12

Closed olets closed 8 years ago

olets commented 8 years ago

The twig documentation makes a point of saying

It can generate any text-based format (HTML, XML, CSV, LaTeX, etc.). It doesn't have a specific extension, .html or .xml are just fine. (source)

I've read that .twig is commonly used on twig html files, and .[file type].twig is a common way of making a file as part of a twig project (e.g. .html.twig, .json.twig).

This all makes me think mulch shouldn't require .html. Thoughts?

JoelSutherland commented 8 years ago

Yeah that makes sense

olets commented 8 years ago

https://github.com/nmcteam/mulch/pull/13