* refactor: remove jsconfig.json * chore: remove devcontainer config * refactor: migrate Hugo configuration from `hugo.yaml` to dedicated `module.toml` and `params.toml` files, and update minimum Hugo version. * refactor: migrate demo site configuration from `hugo.yaml` to `config/_default/*.toml` * feat: enable local sidebar avatar for demo site and relocate its image to demo assets. * feat: migrate demo site to Hugo Modules for theme management. * fix: wrong config folder name
138 lines
2.8 KiB
TOML
138 lines
2.8 KiB
TOML
mainSections = ["post"]
|
|
featuredImageField = "image"
|
|
rssFullContent = true
|
|
|
|
[footer]
|
|
since = 2026
|
|
customText = ""
|
|
|
|
[dateFormat]
|
|
published = "Jan 02, 2006"
|
|
lastUpdated = "Jan 02, 2006 15:04 MST"
|
|
|
|
[sidebar]
|
|
compact = false
|
|
|
|
[sidebar.avatar]
|
|
enabled = false
|
|
local = true
|
|
src = "img/avatar.png"
|
|
|
|
[article]
|
|
headingAnchor = false
|
|
math = false
|
|
toc = true
|
|
readingTime = true
|
|
|
|
[article.license]
|
|
enabled = false
|
|
default = "Licensed under CC BY-NC-SA 4.0"
|
|
|
|
[widgets]
|
|
homepage = []
|
|
page = []
|
|
|
|
[opengraph.twitter]
|
|
site = ""
|
|
card = "summary_large_image"
|
|
|
|
[defaultImage.opengraph]
|
|
enabled = false
|
|
local = false
|
|
|
|
[colorScheme]
|
|
toggle = true
|
|
default = "auto"
|
|
|
|
[imageProcessing.cover]
|
|
enabled = true
|
|
|
|
[imageProcessing.content]
|
|
enabled = true
|
|
|
|
[comments]
|
|
enabled = true
|
|
provider = "disqus"
|
|
|
|
[comments.disqusjs]
|
|
shortname = ""
|
|
apiUrl = ""
|
|
apiKey = ""
|
|
admin = ""
|
|
adminLabel = ""
|
|
|
|
[comments.utterances]
|
|
repo = ""
|
|
issueTerm = "pathname"
|
|
label = ""
|
|
|
|
[comments.beaudar]
|
|
repo = ""
|
|
issueTerm = "pathname"
|
|
label = ""
|
|
theme = ""
|
|
|
|
[comments.remark42]
|
|
host = ""
|
|
site = ""
|
|
locale = ""
|
|
|
|
[comments.vssue]
|
|
platform = ""
|
|
owner = ""
|
|
repo = ""
|
|
clientId = ""
|
|
clientSecret = ""
|
|
autoCreateIssue = false
|
|
|
|
# Waline client configuration see: https://waline.js.org/en/reference/component.html
|
|
[comments.waline]
|
|
serverURL = ""
|
|
lang = ""
|
|
pageview = ""
|
|
emoji = [
|
|
"https://unpkg.com/@waline/emojis@1.0.1/weibo"
|
|
]
|
|
requiredMeta = [
|
|
"name",
|
|
"email",
|
|
"url"
|
|
]
|
|
[comments.waline.locale]
|
|
admin = "Admin"
|
|
placeholder = ""
|
|
|
|
[comments.twikoo]
|
|
envId = ""
|
|
region = ""
|
|
path = ""
|
|
lang = ""
|
|
|
|
# See https://cactus.chat/docs/reference/web-client/#configuration for description of the various options
|
|
[comments.cactus]
|
|
defaultHomeserverUrl = "https://matrix.cactus.chat:8448"
|
|
serverName = "cactus.chat"
|
|
siteName = "" # You must insert a unique identifier here matching the one you registered (See https://cactus.chat/docs/getting-started/quick-start/#register-your-site)
|
|
|
|
[comments.giscus]
|
|
repo = ""
|
|
repoID = ""
|
|
category = ""
|
|
categoryID = ""
|
|
mapping = ""
|
|
lightTheme = ""
|
|
darkTheme = ""
|
|
reactionsEnabled = 1
|
|
emitMetadata = 0
|
|
|
|
[comments.gitalk]
|
|
owner = ""
|
|
admin = ""
|
|
repo = ""
|
|
clientID = ""
|
|
clientSecret = ""
|
|
proxy = ""
|
|
|
|
[comments.cusdis]
|
|
host = ""
|
|
id = "" |