hjs
hjs copied to clipboard
Partials don't seem to render
Partials within templates don't seem to render using:
template.hjs
Hello world
{{>test_partial}}
test_partial.hjs
This is a test
Yep, I’m having the same problem. As far as I can tell it’s not supported. Hopefully it will be soon!
Merge & Fixed !! Sorry I'm late
i was accepted pull request and merge. but, that code seems like a copy of hogan-express package. that's too bad!!!
i'll remade that!! please wait
hi, it seems that when using partials on res.render it works but when setting in app.js it doesn't.
@acarrilho The latest version on github includes support for this. However, it appears that @nullfirm has not published this update to npm.
In the meantime I recommend using the github version.
When I attempt to use global partials using the described syntax in app.js, I cannot get the partial to render in my View. Is there something I am missing with the global partial declaration?
Having the same issue here. Single use works fine, global use does not. Installed from npm. Is there a reason the version from npm doesn't work?
Due to no support on this library for months and a last release years a ago we decided to fork this lib to https://github.com/linslin/hjs and released a new version on NPM with all the latest fixes. The "bus factor" on this lib is to high. With our fork we try to get this lib back into life.