0.0.2 • Published 1 year ago

generator-pug11ty v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

generator-pug11ty

A static site boilerplate generator. 11ty, pug html

Installation

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

Getting started

cd to the generated project folder and run:

npm run dev.all

site will be available on localhost:8080

Folder structure

_components

Here you should put your pug mixins

_data

Here you should put your static data eg site informations. JSON and JS format are supported

{
  "title": "Your site"
}
module.exports = {
  title: "Your site"
}

_layouts

Here you should put your layouts

assets

JS and css

images

Here you should put your images

pages

This is were you put the pages of your site. The site will mirror the structure of this directory.

Getting To Know Yeoman

  • 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.

License

MIT © Solidwave