31 lines
410 B
Markdown
31 lines
410 B
Markdown
|
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
|
||
|
|
||
|
|