Blitz is a dead simple yet powerful static site generator using Node.js, Pug and bits of YAML here and there.
Super quick start
Install Blitz once you have Node.js and npm ready:
npm install -g blitz-ssg
Create a new directory, enter it and initialise a Blitz project using the
mkdir blitz-example cd blitz-example blitz init -t portfolio
Build the static site using Blitz:
And you're done! Open
index.html from the newly generated
build directory in your favourite browser to view the
website you've just generated. For more templates, check out this page.
This repository contains the source code of Blitz app, do not clone it if you want to use Blitz as opposed to helping developing it. For an example website built using Blitz, consider the source code of Blitz's official website.
I suggest you make use of
tslint.json provided in this repository to ensure consistent coding style.