UNPKG

express-dot-engine

Version:

Node.js engine using the ultra fast doT templating with support for layouts, partials and friendly for front-end web libraries (Angular, Ember, Backbone...)

39 lines (28 loc) 778 B
# 1.0.8 - Handle render failure correctly (@maxiruani) - Use updated dependencies (@cjsturgess) # 1.0.7 - Custom template provider (@mihaislobozeanu) # 1.0.5 - Pass [[=layout]] to the partials # 1.0.4 - Support > v0.10 node # 1.0.3 - Add locals (and shortcut with express options 'view shortcut') # 1.0.2 - Whitespace strip settings - Comment strip settings # 1.0.1 - Fix the cache in production - Partial to be supported with caching on (new syntax structure) # 1.0.0 - Reads the 'view data' settings from express and make it available [[= foo ]] # 0.2.1 - Supports custom helper - Exposed method for email templating (or anything) # 0.2.0 - Breaking change: yaml config - partials and layout file path, relative to the current file - Tests # 0.1.0 - Initial version