Resume template with pug
Install all dependencies and run gulp:
npm run setup
Build pug file and create html file:
npm run build
Development
npm run dev
If the size of the CV exceeds one page, change this part in the resume.less
file.
@media print {
@page {
size: A4;
margin: 0;
}
body{
margin: 1em 1.5em; //<--- if the marge are too large / small
zoom: .87; //<--- increase or decrease this value
}
}
Modify locales/*
files to change the resume content.
Change the color, font-size etc. with the CSS var. in src/style/resume.less
file:
primary
: primary colorcolor
: text colorname
: nameh1
h2
h3
main-font-size
: size of all text
$ chrome --headless --disable-gpu --print-to-pdf=path/to/dest --no-margins path/to/html/file