Skip to content

devinus/static-site-brunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-site-brunch

Build Status

Static site support for Brunch.

Install

npm install --save static-site-brunch

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}}