pattern-lab / patternengine-php-twig

Twig-based PatternEngine for Pattern Lab.
http://patternlab.io/
MIT License
78 stars 36 forks source link

default extension of files in 'source/_twig-components' #3

Closed TxHawks closed 9 years ago

TxHawks commented 9 years ago

It's not a big deal since it configurable, but since the files under source/_twig-components, which are meant to extend Twig itself, aren't actually Twig partials, but rather plain-ol' PHP files, I think a better naming default would be .[extension-type].php.

I think it's clearer and better for syntax highlighting.

dmolsen commented 9 years ago

Good call. I've made this switch in v0.6.1.