Adds a doT templates as a view engine for mojito.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
addons/view-engines
LICENSE.txt
README.md
package.json

README.md

mojito-dot

Adds a doT templates as a view engine for mojito.

Big props to olado for making the simplest fastest JS template engine known to MAN! http://olado.github.io/doT/index.html

Simply name your views with the doT handler, like so.

index.doT.html

And use the doT syntax inside.

Partials are also supported

partials/snippet.doT.html

I'm a partial

index.doT.html

{{#def.snippet}}