From c790eb2b5257dcc4d2e230e93959e9308f38af8b Mon Sep 17 00:00:00 2001
From: Antoine <antoine.roy@tetras-libre.fr>
Date: Tue, 14 Nov 2023 15:19:03 +0100
Subject: [PATCH] =?UTF-8?q?fix=20propos=C3=A9=20par=20la=20documentation?=
 =?UTF-8?q?=20de=20hugo?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitlab-ci.yml |  6 ++++--
 config.toml    | 40 ++++++++++++++++++++--------------------
 2 files changed, 24 insertions(+), 22 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46b45df..6be74cc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,9 @@
 # - To change the theme, see
 #   https://gitlab.com/pages/hugo/-/blob/main/README.md#use-a-custom-theme.
 #
-image: registry.gitlab.com/pages/hugo:0.91.0
+image:
+  name: registry.gitlab.com/pages/hugo/hugo_extended:latest
+  entrypoint: [ "/bin/sh", "-c" ]
 
 # Set this if you intend to use Git submodules
 variables:
@@ -19,7 +21,6 @@ default:
   before_script:
     - apk add --update --no-cache git go
     - git submodule update --init --recursive
-    - hugo mod init gitlab.com/pages/hugo
     - hugo mod get -u github.com/gethyas/doks
 
 test:
@@ -36,3 +37,4 @@ pages:
       - public
   rules:
     - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
+
diff --git a/config.toml b/config.toml
index 6da3edb..b810502 100644
--- a/config.toml
+++ b/config.toml
@@ -12,7 +12,7 @@
 # If you use go mod to install your theme, you must use the URL of the theme.
 # If your theme is in the themes directory, you just need to specify its name.
 #
-#theme = "doks"
+#theme = "ananke"
 theme = ["github.com/gethyas/doks"]
 
 baseurl = "https://pages.gitlab.io/hugo/"
@@ -30,29 +30,29 @@ googleAnalytics = ""
 enableRobotsTXT = true
 
 [languages]
-  [languages.en]
-    title = "Ananke"
-    weight = 1
-    contentDir = "content/en"
-  [languages.fr]
-    title = "Ananke Fr"
-    weight = 2
-    contentDir = "content/fr"
+[languages.en]
+title = "Ananke"
+weight = 1
+contentDir = "content/en"
+[languages.fr]
+title = "Ananke Fr"
+weight = 2
+contentDir = "content/fr"
 
 [sitemap]
-  changefreq = "monthly"
-  priority = 0.5
-  filename = "sitemap.xml"
+changefreq = "monthly"
+priority = 0.5
+filename = "sitemap.xml"
 
 [params]
-  text_color = ""
-  author = ""
-  favicon = ""
-  site_logo = ""
-  description = "The last theme you'll ever need. Maybe."
-  # choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-"
-  background_color_class = "bg-black"
-  recent_posts_number = 3
+text_color = ""
+author = ""
+favicon = ""
+site_logo = ""
+description = "The last theme you'll ever need. Maybe."
+# choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-"
+background_color_class = "bg-black"
+recent_posts_number = 3
 
 [[params.ananke_socials]]
 name = "twitter"
-- 
GitLab