hogan-express icon indicating copy to clipboard operation
hogan-express copied to clipboard

Mustache template engine for express 3.x. Support partials and layout

Results 16 hogan-express issues
Sort by recently updated
recently updated
newest added

Hi, ok you don't like plain javascript but please use it for the documentation. Most of the people use it. Thanks.

So `extends` means "a" is a child of "b" . . . which turns out to be really bad with object literals. We didn't notice till we tried to pass...

For layouts that place the <script> tags at the end of the HTML (for loading performance reasons), it would be nice to declare the {{#yield-scripts}} block before the {{{yield-scripts}}} area...

enhancement

I'm wondering if its possible to render a partial off disk in a template without declaring it in the partials variable in app.js, if so I am not seeing this?...

Hogan v3.0 or greater correctly handles empty strings (as in they are no longer truthy). Added test as well.

If you change the mustache delimeter from {{ }} to {{{ }}} the final html contains additional characters when using custom yield tags. If changed to something like [[ ]]...