static2000-pug
v0.6.0
Published
Pug adapter for Static2000
Downloads
8
Maintainers
Readme
static2000-pug
Pug adapter for Static2000.
Installation
Via npm:
npm install static2000-pug
Usage
This is the default template adapter for static2000. Install, create templates and content as .pug
files and run.
Globals
Global include
This adapter includes [templates folder]/includes/globals.pug
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 });