vol4ok / hogan-express

Mustache template engine for express 3.x. Support partials and layout
MIT License
138 stars 31 forks source link

Render Partials off Disk and Show Errors on no Partial found. #33

Open tmcconechy opened 10 years ago

tmcconechy commented 10 years ago

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?

For my use i have a lot of changing partials also when i add them its another step to go in and declar them here.

What if the partial loading would...

lennym commented 9 years ago

@tmcconechy I've implemented part of what you describe (throwing if a partial is undefined) and published the fork to npm as hogan-express-strict.