Sorry if this is possible already and I just missed it. I am new to docpad (and static site generators generally).
Currently the readme states that partials can be added to the docpad.coffee file. This works well and partials can be called using the typical handlebars syntax of {{>partialname}}
But it would be super useful if I could define a directory and put all my partials (as separate files, like header.hbs, footer.hbs ...etc) there while retaining the ability to call the partial withe the same {{>partialname}} syntax.
Thanks
EDIT: While I am at it why not have the same thing the same work with helpers
Sorry if this is possible already and I just missed it. I am new to docpad (and static site generators generally).
Currently the readme states that partials can be added to the docpad.coffee file. This works well and partials can be called using the typical handlebars syntax of {{>partialname}}
But it would be super useful if I could define a directory and put all my partials (as separate files, like header.hbs, footer.hbs ...etc) there while retaining the ability to call the partial withe the same {{>partialname}} syntax.
Thanks
EDIT: While I am at it why not have the same thing the same work with helpers