hjs icon indicating copy to clipboard operation
hjs copied to clipboard

Partials don't seem to render

Open leepowelldev opened this issue 12 years ago • 8 comments

Partials within templates don't seem to render using:

template.hjs

Hello world

{{>test_partial}}

test_partial.hjs

This is a test

leepowelldev avatar Aug 03 '12 14:08 leepowelldev

Yep, I’m having the same problem. As far as I can tell it’s not supported. Hopefully it will be soon!

natesilva avatar Aug 10 '12 22:08 natesilva

Merge & Fixed !! Sorry I'm late

nullfirm avatar Sep 10 '13 12:09 nullfirm

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

nullfirm avatar Sep 11 '13 09:09 nullfirm

hi, it seems that when using partials on res.render it works but when setting in app.js it doesn't.

acarrilho avatar Jun 10 '14 18:06 acarrilho

@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.

jamesrom avatar Jun 25 '14 01:06 jamesrom

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?

mark-schaal avatar Jun 19 '15 20:06 mark-schaal

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?

ronaldroe avatar Jul 19 '15 18:07 ronaldroe

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.

linslin avatar Mar 08 '17 08:03 linslin