diff --git a/docs/divers/devops/hugo/create_website.md b/docs/divers/devops/hugo/create_website.md index 07bec9a4..71bc6c9b 100644 --- a/docs/divers/devops/hugo/create_website.md +++ b/docs/divers/devops/hugo/create_website.md @@ -14,8 +14,11 @@ Cette commande va créer tout l'arborescence nécessaire à Hugo dans le dossier ## Modification du `config.toml` Edit at least `url` to reflect the adress where it will be deployed by gitlab pages. -If your project is located at `https://gitlab.com/myuser/agroup/myproject`, then -your website will be deployed at `https://myuser.gitlab.io/agroup/myproject`. + + +!!!note "Determine URL" + If your project is located at `https://gitlab.com/myuser/agroup/myproject`, then + your website will be deployed at `https://myuser.gitlab.io/agroup/myproject`. Ajouter les éléments suivants à votre `config.toml`: ``` @@ -69,10 +72,9 @@ Dans le dossier `layouts` on créé l'arborescence suivante: ??? note "**layouts/index.html**" === "Contenu" ``` - {% raw %} {{define "main"}} {{ partial "hero.html" }} - {{end}} {% endraw %} + {{end}} ``` === "Explication" Il s'agit d'un template spécifique à la page d'accueil.