shannonmoeller / gulp-hb

A sane Gulp plugin to compile Handlebars templates. Useful as a static site generator.

Home Page:http://npm.im/gulp-hb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option for removing path from partial names

axelboc opened this issue · comments

Hi,

This is in reference to closed issue #13.

I thought it was very convenient when the name of the partials did not include the path. I always prefix my partials with namespaces, so I never had any name clashes. Now, my templates are much more difficult to read.

Would it be possible to add an option to disable this feature so as to not having the path in the name of the partial?

Thanks a lot,
Axel

Added parseDataName, parseHelperName, and parsePartialName. Released as v2.5.0.

So fast!
And great solution, thanks a lot!