mikefrey / hapi-dust

hapi compatibility for dust.js
MIT License
5 stars 3 forks source link

Add partials support #1

Closed Olson3R closed 9 years ago

Olson3R commented 9 years ago

Allows you to extend and include other templates ({>template /}). Currently requires that you pass in a compiler option for the base template directory baseDir.

It does the job I was after, but I am not thrilled about passing in the separate compileOptions.

Should probably see how it works with precompiled templates as well. https://www.omniref.com/js/npm/dustjs-linkedin/0.4.0#label-Installation

I do not believe this is its final form, but it is a start.