hugo-theme-anubis2/exampleSiteMultilingual/hugo.toml

192 lines
3.9 KiB
TOML
Raw Normal View History

2024-04-09 13:25:48 +02:00
baseURL = "/"
languageCode = "en-us"
defaultContentLanguage = "en"
2024-01-14 15:01:46 +01:00
title = "Anubis2"
2024-03-06 07:01:51 +01:00
theme = "anubis2"
2024-04-09 14:03:52 +02:00
paginate = 5
disqusShortname = ""
2024-03-18 05:46:45 +01:00
[author]
2024-01-14 14:54:19 +01:00
name = "Junyi"
[params]
2024-01-14 14:54:19 +01:00
author = "Junyi"
description = "Anubis2 is another simple minimalist theme for Hugo blog engine."
2021-05-17 20:04:42 +02:00
dateFormat = "2006-01-02"
paginationSinglePost = true
2024-03-13 10:14:06 +01:00
colorTheme = "auto"
colorThemeSwitcher = true
2024-03-06 07:22:23 +01:00
readMore = false
2022-02-18 10:29:49 +01:00
readNextPosts = 2
copyCodeButton = true
2022-01-19 16:49:55 +01:00
rssAsSocialIcon = true
2022-05-29 17:03:39 +02:00
locale = "en-us"
math = false # true: enable mathjax globally (default is false)
2024-03-06 07:01:51 +01:00
toc = true
2022-02-26 09:13:01 +01:00
# Graphcomment support
graphcommentId = ""
2024-03-13 10:14:06 +01:00
GiscusRepo = "Junyi-99/hugo-theme-anubis2"
GiscusRepoId = "R_kgDOLEp76Q"
GiscusCategory = "General"
GiscusCategoryId = "DIC_kwDOLEp76c4CcbPS"
GiscusLazyLoad = false
GiscusDataMapping = "pathname"
2024-04-08 08:58:39 +02:00
2024-04-09 13:18:45 +02:00
customCSS = ["css/custom1.scss", "css/custom2.css"]
2024-04-09 14:52:16 +02:00
social = [
{ id = "docs", url = "https://gohugo.io/documentation/" },
{ id = "github", url = "https://github.com/Junyi-99/hugo-theme-anubis2" },
{ id = "linkedin", url = "https://www.linkedin.com/" },
{ id = "email", url = "example@example.com" },
{ id = "facebook", url = "#" },
{ id = "instagram", url = "#" },
{ id = "netease-music", url = "#" },
{ id = "telegram", url = "#" },
{ id = "x", url = "#" },
{ id = "youtube", url = "#" }
]
2024-03-06 07:01:51 +01:00
[[menu.main]]
identifier = "home"
name = "Home"
url = "/"
weight = 1
[[menu.main]]
2021-05-17 20:04:42 +02:00
identifier = "about"
name = "About"
url = "/about/"
2024-03-06 07:01:51 +01:00
weight = 2
[[menu.main]]
2021-05-17 20:04:42 +02:00
identifier = "tags"
name = "Tags"
url = "/tags/"
2024-03-06 07:01:51 +01:00
weight = 3
[[menu.main]]
2021-05-17 20:04:42 +02:00
name = "Archive"
identifier = "archive"
url = "/posts/"
2024-03-06 07:01:51 +01:00
weight = 4
2024-04-09 14:52:16 +02:00
[languages]
[languages.en]
languageName = "English"
2020-05-24 18:30:37 +02:00
[languages.pl]
2021-05-17 20:04:42 +02:00
languageName = "Polski"
2020-05-24 18:30:37 +02:00
2024-03-06 07:01:51 +01:00
[[languages.pl.menu.main]]
identifier = "home"
name = "Strona Główna"
url = "/"
weight = 1
[[languages.pl.menu.main]]
2021-05-17 20:04:42 +02:00
identifier = "about"
name = "O Hugo"
url = "/about/"
2024-03-06 07:01:51 +01:00
weight = 2
[[languages.pl.menu.main]]
2021-05-17 20:04:42 +02:00
identifier = "tags"
name = "Tagi"
url = "/tags/"
2024-03-06 07:01:51 +01:00
weight = 3
[[languages.pl.menu.main]]
2021-05-17 20:04:42 +02:00
identifier = "archive"
name = "Archiwum"
url = "/posts/"
2024-03-06 07:01:51 +01:00
weight = 4
[languages.pl.params]
languageCode = "pl-pl"
2022-05-29 17:03:39 +02:00
2024-01-14 14:58:45 +01:00
[languages.zh]
languageName = "Chinese"
2024-03-06 07:01:51 +01:00
[[languages.zh.menu.main]]
identifier = "home"
name = "首页"
url = "/"
weight = 1
2024-01-14 14:58:45 +01:00
[[languages.zh.menu.main]]
identifier = "about"
2024-01-14 15:01:46 +01:00
name = "关于"
2024-01-14 14:58:45 +01:00
url = "/about/"
2024-03-06 07:01:51 +01:00
weight = 2
2024-01-14 14:58:45 +01:00
[[languages.zh.menu.main]]
identifier = "tags"
2024-01-14 15:01:46 +01:00
name = "标签"
2024-01-14 14:58:45 +01:00
url = "/tags/"
2024-03-06 07:01:51 +01:00
weight = 3
2024-01-14 14:58:45 +01:00
[[languages.zh.menu.main]]
identifier = "archive"
2024-01-14 15:01:46 +01:00
name = "归档"
2024-01-14 14:58:45 +01:00
url = "/posts/"
2024-03-06 07:01:51 +01:00
weight = 4
2024-01-14 14:58:45 +01:00
[languages.zh.params]
languageCode = "zh-cn"
[taxonomies]
category = "categories"
tag = "tags"
author = "authors"
[markup.goldmark.renderer]
2022-02-26 09:13:01 +01:00
unsafe = true
2024-03-18 05:46:45 +01:00
[params.UmamiAnalytics]
2024-04-08 08:58:39 +02:00
enabled = true
dnt = false
id = "e4f661ff-9a8c-49d4-b3cc-2efe553e3973" # Website ID
datacache = false
url = "https://eu.umami.is/script.js"
shareUrl = "https://eu.umami.is/share/RIETUMwZn4IBMIr8/hugo-theme-anubis2.netlify.app"
2024-04-09 14:52:16 +02:00
# Experimental features
[params.analytics]
[params.analytics.umami]
enabled = true
dnt = false
id = "e4f661ff-9a8c-49d4-b3cc-2efe553e3973" # Website ID
datacache = false
url = "https://eu.umami.is/script.js"
shareUrl = "https://eu.umami.is/share/RIETUMwZn4IBMIr8/hugo-theme-anubis2.netlify.app"
[params.analytics.google]
enabled = false
[params.comments]
[params.comments.giscus]
enabled = true
repo = "Junyi-99/hugo-theme-anubis2"
repoId = "R_kgDOLEp76Q"
category = "General"
categoryId = "DIC_kwDOLEp76c4CcbPS"
lazyload = false
datamapping = "pathname"
[params.comments.disqus]
enabled = false
shortname = ""
[params.comments.utterances]
enabled = false
repo = "Junyi-99/hugo-theme-anubis2"
[params.comments.isso]
enabled = false
[params.comments.graphcommentId]
enabled = false