Skip to content
Snippets Groups Projects
Commit c790eb2b authored by Antoine Roy's avatar Antoine Roy
Browse files

fix proposé par la documentation de hugo

parent 0c6bf243
No related branches found
No related tags found
No related merge requests found
Pipeline #1506 failed
......@@ -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
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment