shannonmoeller / handlebars-layouts

Handlebars helpers which implement layout blocks similar to Jinja, Nunjucks (Swig), Pug (Jade), and Twig.
http://npm.im/handlebars-layouts
MIT License
361 stars 29 forks source link

Default "mode" #41

Open acespace90 opened 6 years ago

acespace90 commented 6 years ago

Is there a way to change the default of mode? Actually is set on replace but I want to change it.

shannonmoeller commented 6 years ago

Not currently. Providing options to a helper generator can make for some weird helper-registration patterns, but I'm not opposed to supporting it.

acespace90 commented 6 years ago

It would be great a support for that.

shannonmoeller commented 6 years ago

I'll need to think it through to make sure that it can be implemented without breaking backwards compatibility. Thanks for the request. This repo has been due for some updates for a while now. This is the perfect excuse.