olado/doT — pull request #119 by cage1618 (2014-07-10 18:32:03+00:00)
Title: add layouts and inherits

this features only for nodejs in backend. Before use include, you must set the templates dir. You can use the doT.set method to do this, example:

doT.set('dir', '/opt/templete');

then, in the templates, you can use include like this:

// the base.html