|
@ -2,7 +2,6 @@ |
|
|
|
|
|
|
|
|
This repository contains code to generate a Hugo website based on markedown files coming from [Hedgedoc](https://hedgedoc.org/). |
|
|
This repository contains code to generate a Hugo website based on markedown files coming from [Hedgedoc](https://hedgedoc.org/). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Install |
|
|
## Install |
|
|
|
|
|
|
|
|
### Install Hugo |
|
|
### Install Hugo |
|
@ -28,15 +27,22 @@ mkdir themes |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
2. Import your code in the repo `themes`, for instance: |
|
|
2. Import your code in the repo `themes`, for instance: |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
cd themes |
|
|
cd themes |
|
|
git clone https://github.com/matcornic/hugo-theme-learn.git |
|
|
git clone https://github.com/matcornic/hugo-theme-learn.git |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Sync data |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
./update.sh |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
## Run your Hugo |
|
|
## Run your Hugo |
|
|
|
|
|
|
|
|
Launch the following command from your local repository: |
|
|
Launch the following command from your local repository: |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
hugo serve |
|
|
hugo serve |
|
|
``` |
|
|
``` |