A static site boilerplate generator. 11ty, pug html
First, install Yeoman and generator-pug11ty using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-pug11ty
Then generate your new project:
yo pug11ty
cd to the generated project folder and run:
npm run dev.all
site will be available on localhost:8080
Here you should put your pug mixins
Here you should put your static data eg site informations. JSON and JS format are supported
{
"title": "Your site"
}
module.exports = {
title: "Your site"
}
Here you should put your layouts
JS and css
Here you should put your images
This is were you put the pages of your site. The site will mirror the structure of this directory.
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
MIT © Solidwave