feat: experimental configuration
This commit is contained in:
parent
3f5f3d7ced
commit
4c59bcb723
@ -40,48 +40,18 @@ GiscusDataMapping = "pathname"
|
|||||||
|
|
||||||
customCSS = ["css/custom1.scss", "css/custom2.css"]
|
customCSS = ["css/custom1.scss", "css/custom2.css"]
|
||||||
|
|
||||||
[[params.social]]
|
social = [
|
||||||
id = "docs"
|
{ id = "docs", url = "https://gohugo.io/documentation/" },
|
||||||
url = "https://gohugo.io/documentation/"
|
{ id = "github", url = "https://github.com/Junyi-99/hugo-theme-anubis2" },
|
||||||
|
{ id = "linkedin", url = "https://www.linkedin.com/" },
|
||||||
[[params.social]]
|
{ id = "email", url = "example@example.com" },
|
||||||
id = "github"
|
{ id = "facebook", url = "#" },
|
||||||
url = "https://github.com/Junyi-99/hugo-theme-anubis2"
|
{ id = "instagram", url = "#" },
|
||||||
|
{ id = "netease-music", url = "#" },
|
||||||
[[params.social]]
|
{ id = "telegram", url = "#" },
|
||||||
id = "linkedin"
|
{ id = "x", url = "#" },
|
||||||
url = "https://www.linkedin.com/"
|
{ id = "youtube", url = "#" }
|
||||||
|
]
|
||||||
[[params.social]]
|
|
||||||
id = "email"
|
|
||||||
url = "example@example.com"
|
|
||||||
|
|
||||||
[[params.social]]
|
|
||||||
id = "facebook"
|
|
||||||
url = "#"
|
|
||||||
|
|
||||||
[[params.social]]
|
|
||||||
id = "instagram"
|
|
||||||
url = "#"
|
|
||||||
|
|
||||||
[[params.social]]
|
|
||||||
id = "netease-music"
|
|
||||||
url = "#"
|
|
||||||
|
|
||||||
[[params.social]]
|
|
||||||
id = "telegram"
|
|
||||||
url = "#"
|
|
||||||
|
|
||||||
[[params.social]]
|
|
||||||
id = "x"
|
|
||||||
url = "#"
|
|
||||||
|
|
||||||
[[params.social]]
|
|
||||||
id = "youtube"
|
|
||||||
url = "#"
|
|
||||||
|
|
||||||
[languages.en]
|
|
||||||
languageName = "English"
|
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "home"
|
identifier = "home"
|
||||||
@ -107,10 +77,13 @@ identifier = "archive"
|
|||||||
url = "/posts/"
|
url = "/posts/"
|
||||||
weight = 4
|
weight = 4
|
||||||
|
|
||||||
|
[languages]
|
||||||
|
[languages.en]
|
||||||
|
languageName = "English"
|
||||||
|
|
||||||
[languages.pl]
|
[languages.pl]
|
||||||
languageName = "Polski"
|
languageName = "Polski"
|
||||||
|
|
||||||
|
|
||||||
[[languages.pl.menu.main]]
|
[[languages.pl.menu.main]]
|
||||||
identifier = "home"
|
identifier = "home"
|
||||||
name = "Strona Główna"
|
name = "Strona Główna"
|
||||||
@ -176,7 +149,6 @@ author = "authors"
|
|||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
unsafe = true
|
unsafe = true
|
||||||
|
|
||||||
|
|
||||||
[params.UmamiAnalytics]
|
[params.UmamiAnalytics]
|
||||||
enabled = true
|
enabled = true
|
||||||
dnt = false
|
dnt = false
|
||||||
@ -184,3 +156,37 @@ id = "e4f661ff-9a8c-49d4-b3cc-2efe553e3973"
|
|||||||
datacache = false
|
datacache = false
|
||||||
url = "https://eu.umami.is/script.js"
|
url = "https://eu.umami.is/script.js"
|
||||||
shareUrl = "https://eu.umami.is/share/RIETUMwZn4IBMIr8/hugo-theme-anubis2.netlify.app"
|
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
|
Loading…
Reference in New Issue
Block a user