Nanosite
Extremely simple, extremely oppinionated static site generator.
To get going run:
npm initnpm i --save nanositenpx nanosite initnpx nanosite start
And you hit the ground running!
Folder example
src
├─ assets
│ ├─ images
│ ├─ js
│ │ └─ app.js
│ └─ style
│ └─ style.scss
├─ pages
│ ├─ blog
│ │ ├─ article-1.pug
│ │ └─ index.pug
│ └─ index.pug
├─ partials
│ └─ _layout.pug
├─ translations.json
└─ context.js
Commands
nanosite [command] Commands: nanosite build [inputPath] [outputPath] Build your site nanosite serve [inputPath] Serve up the site nanosite watch [inputPath] [outputPath] [pattern] Watch