my online resume
https://sammay.sarkar.website
.vscode | ||
.woodpecker | ||
assets | ||
includes | ||
.editorconfig | ||
.gitignore | ||
.nvmrc | ||
.pugrc.js | ||
index.pug | ||
LICENSE | ||
package.json | ||
portfolio.pug | ||
README.md | ||
vars.pug | ||
yarn.lock |
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.