Skip to content

themeleon/themeleon-jade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Themeleon Jade

Jade mixin for Themeleon.

Warning: this repository/package is deprecated, template engines will be handled by consolidate.js in Themeleon 3.0.

Installation

In your package.json:

{
  "dependencies": {
    "themeleon": "1.*",
    "themeleon-jade": "1.*"
  }
}

Usage

var themeleon = require('themeleon')();

// Use the Jade mixin
themeleon.use('jade');

// Or inject your own instance
themeleon.use('jade', require('jade'));

module.exports = themeleon(__dirname, function (t) {
  var options = {
    pretty: true,
  };

  // Compile a Jade view as `index.html` in destination directory
  t.jade('views/index.jade', 'index.html', options);
});

About

[DEPRECATED] Jade mixin for Themeleon.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published