hugo-theme-anubis2/exampleSiteMultilingual/hugo.toml

177 lines
3.5 KiB
TOML
Raw Permalink Normal View History

2024-04-09 13:25:48 +02:00
baseURL = "/"
languageCode = "en-us"
defaultContentLanguage = "en"
2024-04-09 14:54:46 +02:00
title = "Anubis2 Demo Site"
2024-03-06 07:01:51 +01:00
theme = "anubis2"
disqusShortname = ""
2024-03-18 05:46:45 +01:00
[pagination]
pagerSize = 5
[params.author]
2024-01-14 14:54:19 +01:00
name = "Junyi"
2024-04-26 06:29:07 +02:00
email = "me@junyi.dev"
location = "Singapore"
[params]
2024-01-14 14:54:19 +01:00
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
# icp = "京ICP备xxxxx号-1" # for China ICP license
# police = "京公网安备 12345678号" # for China police beian
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 14:54:46 +02:00
customCSS = ["custom-css/custom1.scss", "custom-css/custom2.css"]
2024-04-09 13:18:45 +02:00
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]
defaultMarkdownHandler = 'goldmark'
[markup.goldmark.renderer]
2022-02-26 09:13:01 +01:00
unsafe = true
2024-03-18 05:46:45 +01:00
[markup.highlight]
anchorLineNos = false
codeFences = true # tested with true and false. Both work.
noClasses = true # If you run with markup.highlight.noClasses=false in your site configuration, you need a style sheet.
style = 'base16-snazzy'
tabWidth = 4
2024-03-18 05:46:45 +01:00
[params.UmamiAnalytics]
2024-04-08 08:58:39 +02:00
enabled = true
dnt = false
2024-06-14 09:48:44 +02:00
id = "d01ce82c-c8f4-4714-ba37-ba4899f2a885" # Website ID
2024-04-08 08:58:39 +02:00
datacache = false
2024-06-14 09:48:44 +02:00
url = "https://umami.xtra.science/script.js"
shareUrl = "https://umami.xtra.science/share/Fy0goUn0b9rrxxGe/hugo-theme-anubis2.netlify.app"
2024-06-11 15:21:37 +02:00
[params.GoogleAnalytics]
enabled = true
2024-06-14 09:48:44 +02:00
gtag = "G-32F16X8HLF"