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