This package has been deprecated

Author message:

Please use static2000-pug instead

static2000-jade

0.1.3 • Public • Published

static2000-jade

Jade adapter for Static2000.

Installation

Via npm:

npm install static2000-jade

Usage

This is the default template adapter for static2000. Install, create templates and content as .jade files and run.

Globals

Global include

This adapter includes [templates folder]/includes/globals.jade in all files, templates and content, so mixins defined there are available both in the body of content and in templates:

+my-mixin()

Global functions

The global functions are available without namespace in the templates:

- var visiblePages = query({ visible: true });

Package Sidebar

Install

npm i static2000-jade

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • judas-christ