inline-templates

0.0.5 • Public • Published

This repository is no longer maintained.

Greenkeeper badge 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

/inline-templates/

    Package Sidebar

    Install

    npm i inline-templates

    Weekly Downloads

    6

    Version

    0.0.5

    License

    none

    Last publish

    Collaborators

    • jameskyburz