diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 46b45df3eb8a6b0f4814d96ba6ca529bc2ea5fe8..6be74cc15868c5eda589da31d3dbede7e339153f 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 6da3edb05a6efc649e3c2812dc6c3e667b2da854..b810502cb9a4f666e5afa50cc0c52d02abc51f65 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"