2024-04-09 13:25:48 +02:00
|
|
|
baseURL = "/"
|
2020-05-24 18:07:34 +02:00
|
|
|
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"
|
2024-04-09 14:03:52 +02:00
|
|
|
paginate = 5
|
2020-05-24 18:07:34 +02:00
|
|
|
|
|
|
|
disqusShortname = ""
|
2024-03-18 05:46:45 +01:00
|
|
|
|
2020-05-24 18:07:34 +02:00
|
|
|
[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"
|
2020-05-24 18:07:34 +02:00
|
|
|
|
|
|
|
[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
|
|
|
|
2024-04-29 06:09:19 +02:00
|
|
|
# icp = "京ICP备xxxxx号-1" # for China ICP license
|
2024-04-29 09:47:00 +02:00
|
|
|
# police = "京公网安备 12345678号" # for China police beian
|
2024-04-29 06:09:19 +02:00
|
|
|
|
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
|
2022-01-18 17:56:02 +01:00
|
|
|
copyCodeButton = true
|
2022-01-19 16:49:55 +01:00
|
|
|
rssAsSocialIcon = true
|
2022-05-29 17:03:39 +02:00
|
|
|
locale = "en-us"
|
2024-04-09 14:30:37 +02:00
|
|
|
math = false # true: enable mathjax globally (default is false)
|
2024-03-06 07:01:51 +01:00
|
|
|
toc = true
|
2020-05-24 18:07:34 +02:00
|
|
|
|
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 = "#" }
|
|
|
|
]
|
2020-05-24 18:07:34 +02:00
|
|
|
|
2024-03-06 07:01:51 +01:00
|
|
|
[[menu.main]]
|
|
|
|
identifier = "home"
|
|
|
|
name = "Home"
|
|
|
|
url = "/"
|
|
|
|
weight = 1
|
|
|
|
|
2020-05-24 18:07:34 +02:00
|
|
|
[[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
|
2020-05-24 18:07:34 +02:00
|
|
|
|
|
|
|
[[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
|
2020-05-24 18:07:34 +02:00
|
|
|
|
|
|
|
[[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
|
2020-05-24 18:07:34 +02:00
|
|
|
|
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
|
|
|
|
|
2020-05-24 18:07:34 +02:00
|
|
|
[[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
|
2020-05-24 18:07:34 +02:00
|
|
|
|
|
|
|
[[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
|
2020-05-24 18:07:34 +02:00
|
|
|
|
|
|
|
[[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
|
2020-05-24 18:07:34 +02:00
|
|
|
|
2023-07-24 12:22:51 +02:00
|
|
|
[languages.pl.params]
|
2024-01-08 17:54:37 +01:00
|
|
|
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"
|
|
|
|
|
2020-05-24 18:07:34 +02:00
|
|
|
[taxonomies]
|
|
|
|
category = "categories"
|
|
|
|
tag = "tags"
|
2023-02-16 04:27:56 +01:00
|
|
|
author = "authors"
|
2020-06-13 18:32:10 +02:00
|
|
|
|
2024-04-23 14:09:41 +02:00
|
|
|
[markup]
|
|
|
|
defaultMarkdownHandler = 'goldmark'
|
|
|
|
|
2020-06-13 18:32:10 +02:00
|
|
|
[markup.goldmark.renderer]
|
2022-02-26 09:13:01 +01:00
|
|
|
unsafe = true
|
2024-03-18 05:46:45 +01:00
|
|
|
|
2024-04-23 14:09:41 +02: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
|
|
|
|
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
|