205 lines
4.4 KiB
TOML
205 lines
4.4 KiB
TOML
baseURL = "/"
|
|
languageCode = "en-us"
|
|
defaultContentLanguage = "en"
|
|
title = "Anubis2 Demo Site"
|
|
theme = "anubis2"
|
|
paginate = 5
|
|
|
|
disqusShortname = ""
|
|
|
|
[author]
|
|
name = "Junyi"
|
|
email = "me@junyi.dev"
|
|
location = "Singapore"
|
|
|
|
[params]
|
|
description = "Anubis2 is another simple minimalist theme for Hugo blog engine."
|
|
dateFormat = "2006-01-02"
|
|
paginationSinglePost = true
|
|
|
|
# icp = "京ICP备xxxxx号-1" # for China ICP license
|
|
# police = "京公网安备 12345678号" # for China police beian
|
|
|
|
colorTheme = "auto"
|
|
colorThemeSwitcher = true
|
|
|
|
readMore = false
|
|
readNextPosts = 2
|
|
copyCodeButton = true
|
|
rssAsSocialIcon = true
|
|
locale = "en-us"
|
|
math = false # true: enable mathjax globally (default is false)
|
|
toc = true
|
|
|
|
# Graphcomment support
|
|
graphcommentId = ""
|
|
|
|
GiscusRepo = "Junyi-99/hugo-theme-anubis2"
|
|
GiscusRepoId = "R_kgDOLEp76Q"
|
|
GiscusCategory = "General"
|
|
GiscusCategoryId = "DIC_kwDOLEp76c4CcbPS"
|
|
GiscusLazyLoad = false
|
|
GiscusDataMapping = "pathname"
|
|
|
|
customCSS = ["custom-css/custom1.scss", "custom-css/custom2.css"]
|
|
|
|
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 = "#" }
|
|
]
|
|
|
|
[[menu.main]]
|
|
identifier = "home"
|
|
name = "Home"
|
|
url = "/"
|
|
weight = 1
|
|
|
|
[[menu.main]]
|
|
identifier = "about"
|
|
name = "About"
|
|
url = "/about/"
|
|
weight = 2
|
|
|
|
[[menu.main]]
|
|
identifier = "tags"
|
|
name = "Tags"
|
|
url = "/tags/"
|
|
weight = 3
|
|
|
|
[[menu.main]]
|
|
name = "Archive"
|
|
identifier = "archive"
|
|
url = "/posts/"
|
|
weight = 4
|
|
|
|
[languages]
|
|
[languages.en]
|
|
languageName = "English"
|
|
|
|
[languages.pl]
|
|
languageName = "Polski"
|
|
|
|
[[languages.pl.menu.main]]
|
|
identifier = "home"
|
|
name = "Strona Główna"
|
|
url = "/"
|
|
weight = 1
|
|
|
|
[[languages.pl.menu.main]]
|
|
identifier = "about"
|
|
name = "O Hugo"
|
|
url = "/about/"
|
|
weight = 2
|
|
|
|
[[languages.pl.menu.main]]
|
|
identifier = "tags"
|
|
name = "Tagi"
|
|
url = "/tags/"
|
|
weight = 3
|
|
|
|
[[languages.pl.menu.main]]
|
|
identifier = "archive"
|
|
name = "Archiwum"
|
|
url = "/posts/"
|
|
weight = 4
|
|
|
|
[languages.pl.params]
|
|
languageCode = "pl-pl"
|
|
|
|
[languages.zh]
|
|
languageName = "Chinese"
|
|
|
|
[[languages.zh.menu.main]]
|
|
identifier = "home"
|
|
name = "首页"
|
|
url = "/"
|
|
weight = 1
|
|
|
|
[[languages.zh.menu.main]]
|
|
identifier = "about"
|
|
name = "关于"
|
|
url = "/about/"
|
|
weight = 2
|
|
|
|
[[languages.zh.menu.main]]
|
|
identifier = "tags"
|
|
name = "标签"
|
|
url = "/tags/"
|
|
weight = 3
|
|
|
|
[[languages.zh.menu.main]]
|
|
identifier = "archive"
|
|
name = "归档"
|
|
url = "/posts/"
|
|
weight = 4
|
|
|
|
[languages.zh.params]
|
|
languageCode = "zh-cn"
|
|
|
|
[taxonomies]
|
|
category = "categories"
|
|
tag = "tags"
|
|
author = "authors"
|
|
|
|
[markup]
|
|
defaultMarkdownHandler = 'goldmark'
|
|
|
|
[markup.goldmark.renderer]
|
|
unsafe = true
|
|
|
|
[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
|
|
|
|
[params.UmamiAnalytics]
|
|
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"
|
|
|
|
|
|
# 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 |