Pure HTML and CSS resume using Gulp and Nunjucks.
I created this simple setup to have more fine-grained control over my resume than a text editor would allow. Also, it's fun to set up tools!
Note: this is a legacy setup that needs some dependency updates
- Install node 10
- Clone repo
- Run
npm install
in the cloned directory
- Add your data in
src/data/sample_data.json
. Rename it tosrc/data/data.json
. - Adjust CSS, e.g.
$brand_color
insrc/sass/main.scss
to your preffered settings. - Run with
gulp
, refresh on changes. - Use browser printing to save as .pdf - works best in webkit browsers (e.g. Chrome, Safari).
- Generated HTML
I used this tool to generate my resume - I expanded the CSS and cleared some minor whitespace annoyances, but other than that it's what you can expect from this setup. https://trueskawka.github.io/mini-jekyll-deploy/resume/
- Printed .pdf
You can print the file and save it as .pdf - I use Chrome, because it doesn't add additional margins.
- ...all the additional whitespace in
nunjucks
files?
I wanted to make sure the generated HTML is easily readable, which often requires
the nunjucks
partials to have some unusual whitespace choices.
- ...the compact CSS?
I used a standard Sass option for the compact CSS output. You can change it in the
gulpfile
to any of the: nested
, expanded
or compressed
(more info
on the output of different options).
MIT, as published by Open Source Initiative.