koajs / koa-hbs

Handlebars templates for Koa.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[question] Name convention

reod opened this issue · comments

Why there is viewPath (singular) but layoutsPath and partialsPath (plural)?

A few:

  • original developer chose the name
  • viewPath could only be set to a singular path a while back
  • it would be a breaking change and it hasn't been changed for a major version release

It should be fixed with PR #78