inline-templates
v0.0.5
Published
Inline script templates for layout
Downloads
13
Maintainers
Readme
This repository is no longer maintained.
inline-templates adds a helper function called templates for your layout file.
templates([options={type: 'text/x-template', template_path:
'./templates/'}]);
Example
app.js
require('inline-templates');
layout.jade
!=templates({type:'text/x-serenade'});
Install it via npm:
npm install inline-templates