koajs / koa-hbs

Handlebars templates for Koa.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Multiple Partials Paths

shellscape opened this issue · comments

While specifying the partials path and preloading of partials is an asset, being limited to only one partials directory is... limiting.

I'd like to see the partialsPath property of config accept an array of paths from which to load partials.

It looks like it already does. Have you tried it?

Yeah, wasn't working for us. Took a look at the koa-hbs code, and there's no reason it shouldn't. I'll update to 0.5.0 and give this another shot. Thanks