Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md - github.com/cssandstuff/hugo-theme-winning.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a330a35379d99179289cfad13089461d733010ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Winning
#### A one page CV template for [Hugo](http://gohugo.io/).
Generates a nicely formatted CV from a markdown file.

![Winning Theme Screenshot](https://github.com/cssandstuff/hugo-theme-winning/blob/master/images/screenshot.png)

This is a Simple one page CV template.

## Basic Usage
1. Make sure to [Install hugo](https://gohugo.io/getting-started/installing/)
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 -t winning```

## PDF Generation
```
npm i html-pdf -g
```
Copy ./generatepdf.js to the root of your hugo project.
```
node ./generatepdf.js
```