Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
doks-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine-perso
doks-test
Commits
583de25d
Commit
583de25d
authored
Nov 14, 2023
by
Antoine Roy
Browse files
Options
Downloads
Patches
Plain Diff
fix/adding config.toml
parent
4418d1b8
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+20
-1
20 additions, 1 deletion
.gitlab-ci.yml
config.toml
+59
-0
59 additions, 0 deletions
config.toml
with
79 additions
and
1 deletion
.gitlab-ci.yml
+
20
−
1
View file @
583de25d
# 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 diff is collapsed.
Click to expand it.
config.toml
0 → 100644
+
59
−
0
View file @
583de25d
#
# 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"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment