0.6.0 • Published 3 years ago

static2000-pug v0.6.0

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

static2000-pug Build Status

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 });
0.6.0

3 years ago

0.2.4

5 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.4

8 years ago