1008 B
1008 B
intro
this is a manpage-like html template, but tbh it's not really a manpage
created with pug and sass, build with parcel.
setup
# select node version
$ nvm use
# install dependencies
$ yarn install
# build the output
$ yarn build
# build results are here
$ ls dist
contents
/index.pug
: the starting point of the template.
/vars.pug
: sample variables. copy it to /vars.local.pug
and edit it.
/includes
: template parts are located here.
include /somefile
from anywhere will look forsomefile
in project rootinclude ./somefile
will be relative to current pug file.
/assets
: css/sass, scripts, images etc are located here.
/assets/styles/index.sass
: the starting point of the sass template.