hugo-site/README.md
2021-07-24 11:37:02 +02:00

42 lines
648 B
Markdown

# HUGO SITE
Hugo est un framework open source pour générer facilement des sites webs (https://gohugo.io/)
### HUGO INSTALL
Voir sur le site https://gohugo.io/ selon vtre OS et distribution
### UTILISATION
```bash
hugo new site monsite
```
#### Installer un thème:
```bash
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo theme = \"ananke\" >> config.toml
```
#### Ajouter un nouveau post:
```bash
hugo new posts/my-first-post.md
```
#### lancer le serveur en local:
```bash
hugo server -D
```
Visiter http://localhost:1313
#### Déployer via Docker:
Visiter la branch docker