You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 months ago | |
---|---|---|
.vscode | 8 months ago | |
.woodpecker | 8 months ago | |
assets | 8 months ago | |
includes | 2 months ago | |
.editorconfig | 8 months ago | |
.gitignore | 8 months ago | |
.nvmrc | 2 months ago | |
.pugrc.js | 8 months ago | |
LICENSE | 8 months ago | |
README.md | 2 months ago | |
index.pug | 8 months ago | |
package.json | 8 months ago | |
portfolio.pug | 8 months ago | |
vars.pug | 8 months ago | |
yarn.lock | 8 months ago |
README.md
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.