2020-07-09 19:30:50 +02:00
|
|
|
Website build with Hugo 0.73.0
|
|
|
|
|
|
|
|
# Hugo
|
|
|
|
|
|
|
|
## Get Hugo
|
|
|
|
https://gohugo.io/getting-started/installing/
|
|
|
|
|
|
|
|
## clone website repo
|
|
|
|
```
|
|
|
|
git clone --recurse-submodules https://git.irsamc.ups-tlse.fr/LCPQ/lcpq-codes.git
|
|
|
|
```
|
|
|
|
|
|
|
|
## local preview for testing
|
|
|
|
```
|
|
|
|
cd lcpq-codes
|
|
|
|
hugo serve
|
|
|
|
```
|
|
|
|
|
|
|
|
## compile the website
|
|
|
|
```
|
|
|
|
hugo
|
|
|
|
```
|
|
|
|
|
|
|
|
Pages are stored in the `public` folder
|
|
|
|
|
|
|
|
## Create a new page
|
|
|
|
```
|
|
|
|
hugo new newproject/_index.md
|
2020-07-09 19:31:54 +02:00
|
|
|
```
|
2020-07-09 19:30:50 +02:00
|
|
|
|