Skip to content
Snippets Groups Projects
Commit 2a0b3b1a authored by Benjamin Lecha's avatar Benjamin Lecha :upside_down:
Browse files

Sample HUGO

parent 2bee7ab5
Branches
No related tags found
No related merge requests found
......@@ -82,6 +82,15 @@ Réaliser un site statique avec [Hugo](https://gohugo.io), il vous faudra appliq
Pour cela la [documentation](https://gohugo.io/getting-started/quick-start/) devrait vous être très utile.
```
hugo new site formation_docker
cd formation_docker
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" >> hugo.toml
hugo new content posts/my-first-post.md
```
Une fois votre site générer, supprimer le dossier `public` et hebergé votre site dans un conteneur Docker avec un serveur web.
N'hésitez pas à vous inspirer des diaposivites pour l'écriture du Dockerfile.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment