0.3.0 • Published 7 years ago

ig-templates v0.3.0

Weekly downloads
41
License
-
Repository
github
Last release
7 years ago

ig-templates CircleCI npm

Work in progress

Collection of Handlebars partials, layouts and helpers for use in IG pages.

Usage example

import Handlebars from 'handlebars';
import { autoRegister } from 'ig-templates';

// register all our partials and helpers
autoRegister(Handlebars);

After registering as above, you can use your Handlebars instance to compile templates that make use of ig-templates' layouts and partials.

Debugging

The Handlebars helpers use the debug module for logging with the prefix ig-templates. So if you want to see logging, set DEBUG=ig-templates in your environment.

Docs

Developing in this repo

Set up: clone and run yarn && bower install. Developing: run trip develop Publishing: on master, commit all changes then run npm version patch && git push && git push --tags (switch patch for minor or major as appropriate)

0.3.0

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago