Why HTML? Because it can be easily shared My CV
The content itself can be found at data/content.yaml.
HTML template files are located inside the layouts directory.
You must install Hugo and then run
hugo server -D
Additionally, to install formatting dependencies, run
npm install
npm run format # run formatter
To build for production with minification, run
hugo -D --gc --minify
Sometimes it might be desirable to print to a page longer than A4, as to avoid a page break. A workaround is to print to PDF as an A2 and then use Ghostscript to crop the resulting PDF.
# Change $HEIGHT to the amount to crop from the bottom
gs -o resultado.pdf -sDEVICE=pdfwrite \
-c "[/CropBox [297.78 1684.08 893.34 2200.00] /PAGES pdfmark" \
-f "DavidAlves.pdf"