Build a static site with some hot buttered soul!
- clone
- install node
- run
npm install
- setup
gulpconfig.js
variables - create
build
folder (change name & location @gulpconfig.js
) - run
gulp
for development - run
gulp build
to create deploy-ready files - listen to isaac…
The content and template files are parsed with Metalsmith.
We use Handlebars templates (./components/templates
) with some helpers (./components/templates/helpers
)
The content is written in Markdown and
Frontmatter (./components/content
) and the folder structure defines the sitemap. Gulp does the rest of the work and parses the css, js and assets. We tried to be explicit in naming and commenting the source files in dev mode and will be brief (and ugly) in deploy mode.