nxus / templater

The template manager for Nxus applications
1 stars 0 forks source link

renderPartial should accept an array of base templates #2

Closed mjreich closed 8 years ago

mjreich commented 8 years ago

And render recursively…

app.get(‘templater’).request(‘renderPartial’, ‘some-partial’, [‘intermediate-template’, ‘base-template’], args)

Render order is then:

loppear commented 8 years ago

Going to wish we were specifying this in the templates (in a jekyll-like front-matter) rather than at render time, but agree with the need.