Go to file
bdeshi ca2c548639
keep vars in repo
this is a repo for personal use
2024-05-17 09:53:02 +06:00
assets add noprint class to hide elements when printing 2024-05-17 09:53:02 +06:00
includes add noprint class to hide elements when printing 2024-05-17 09:53:02 +06:00
.editorconfig modify template structure 2022-05-20 19:47:36 +06:00
.gitignore modify template structure 2022-05-20 19:47:36 +06:00
.pugrc.js add content and change project layout 2024-05-17 09:52:55 +06:00
index.pug add content and change project layout 2024-05-17 09:52:55 +06:00
LICENSE init 2022-05-20 16:53:14 +06:00
package.json add content and change project layout 2024-05-17 09:52:55 +06:00
portfolio.pug add content and change project layout 2024-05-17 09:52:55 +06:00
README.md add content and change project layout 2024-05-17 09:52:55 +06:00
vars.pug keep vars in repo 2024-05-17 09:53:02 +06:00
yarn.lock add content and change project layout 2024-05-17 09:52:55 +06:00

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

  # 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 for somefile in project root
  • include 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.