cssandstuff / hugo-theme-winning

MIT License
51 stars 13 forks source link

Winning

A one page CV template for Hugo.

Generates a nicely formatted CV from a markdown file. View Demo

Winning Theme Screenshot

This is a Simple one page CV template.

Basic Usage

  1. Make sure to Install hugo

  2. Then Let's clone a basic example

    git clone https://github.com/gohugoio/hugoBasicExample.git

  3. Enter to the folder

    cd hugoBasicExample

  4. Let's clone this theme

    git clone --recursive https://github.com/cssandstuff/hugo-theme-winning.git themes/winning

  5. 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

  6. 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.