Skip to content
Neil Freeman edited this page Nov 5, 2015 · 5 revisions

A sample Makefile with taft might look something like this:

# Build a single page

build/%.html: _content/%.html _helpers/helpers.js _layouts/myLayout.handlebars _data/data.yaml
	taft --helper _helpers/helpers.js \
             --partial '_partials/*' \
             --layout '_layouts/*' \
             --default-layout myLayout \
             --data _data/data.yaml \

Clone this wiki locally