Hugo Themes
Winning
A theme for creating a simple CV with pdf generation through node-html-pdf
- Author: Tim Clulow
- Minimum Hugo Version: 0.32.4
- GitHub Stars: 49
- Updated: 2020-05-07
- License: MIT
- Tags: Landing
Winning
A one page CV template for Hugo.
Generates a nicely formatted CV from a markdown file. View Demo
This is a Simple one page CV template.
Basic Usage
Make sure to Install hugo
Then Let’s clone a basic example
git clone https://github.com/gohugoio/hugoBasicExample.git
Enter to the folder
cd hugoBasicExample
Let’s clone this theme
git clone --recursive https://github.com/cssandstuff/hugo-theme-winning.git themes/winning
Copy _index.md from hugoBasicExample/themes/winning/exampleSite/content/_index.md to hugoBasicExample/content/_index.md This file shows you how you need to structure your markdown to best work with this theme.
cp themes/winning/exampleSite/content/_index.md content/_index.md
Let’s start HUGO Server in the terminal
HUGO_THEME=winning hugo server
PDF Generation
npm i html-pdf -g
Copy /exampleSite/generatepdf.js to the root of your hugo project and then run the following command.
node ./generatepdf.js
License
MIT Licensed, see LICENSE.