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

fix/adding config.toml

parent 4418d1b8
No related branches found
No related tags found
No related merge requests found
# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry
#image: registry.gitlab.com/pages/hugo/hugo_extended:latest
#variables:
# GIT_SUBMODULE_STRATEGY: recursive
#pages:
# script:
# - echo The script part is required in 'pages' section
# - hugo
# artifacts:
# paths:
# - public
# only:
# - master
#before_script:
# - apk add --update --no-cache git
image: node:latest
pages:
......@@ -7,7 +26,7 @@ pages:
script:
- npm ci
- npm test
#- npm test
- npm run build
artifacts:
......
#
# This config.toml is an example and based on the ananke theme
# https://github.com/theNewDynamic/gohugo-theme-ananke/.
#
# If you use a different theme, you might need to change the content of config.toml
# to your liking.
#
#
# Theme setup
#
# 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 = "ananke"
theme = ["github.com/gethyas/doks"]
baseurl = "https://pages.gitlab.io/hugo/"
title = "GitLab Pages and Hugo"
contentdir = "content"
layoutdir = "layouts"
publishdir = "public"
languageCode = "en-us"
resourceDir = "../resources"
DefaultContentLanguage = "en"
SectionPagesMenu = "main"
Paginate = 3 # this is set low for demonstrating with dummy content. Set to a higher number
googleAnalytics = ""
enableRobotsTXT = true
[languages]
[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"
[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
[[params.ananke_socials]]
name = "twitter"
url = "https://twitter.com/GoHugoIO"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment