@chrisbrocklesby/static-build
v1.0.8
Published
A static site builder
Downloads
4
Maintainers
Readme
Static Build
A static site generator using liquid templates.
Engine: https://liquidjs.com/
Templating Language: https://shopify.github.io/liquid/
Global Install
npm install @chrisbrocklesby/static-build -g
Local Install
npm install @chrisbrocklesby/static-build --save-dev
Usage
Preqrequisites
A views folder with a layout file and a folder for each page. Default ./views and within that folder liquid files for the layout and pages.
Run
If install globally
static-build --input ./views --output ./build --watch
If installed locally
node_modules/.bin/static-build --input ./views --output ./build --watch
or add to package.json
"scripts": {
"build": "static-build --input ./views --output ./build --watch"
}