static-site-brunch-with-hbs-helpers

0.0.3 • Public • Published

static-site-brunch (with Handlebars helpers)

Static site support for Brunch.

This is a fork of static-site-brunch

Only {#if_eq} helper is added, currently.

Install

npm install --save static-site-brunch-with-hbs-helpers

Usage

Add Handlebars templates to app/templates and they will be automatically compiled and placed in your public directory.

Partials are automatically registered if they begin with an underscore, e.g. _hello.hbs.

YAML front matter allows you to control the context passed to the template during render.

Example

---
people:
  - name: Devin
  - name: Kevin
---
{{#each people}}
  Hello {{name}}
{{/each}}

Readme

Keywords

Package Sidebar

Install

npm i static-site-brunch-with-hbs-helpers

Weekly Downloads

6

Version

0.0.3

License

C0-1.0

Last publish

Collaborators

  • yanbe.n