mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-02-06 20:03:31 +08:00
4be110e540
* Add link to navbar sections and refactor names * Prevent duplicate tags and categories information * Add style to the widget links * refactor: add `taxonomy` widget Replaces `categories` and `tag-cloud` widget. * style: remove unused `font_size_{{ .Count }}` in `taxonomy` widget --------- Co-authored-by: Jimmy Cai <hi@jimmycai.com>
110 lines
1.6 KiB
TOML
110 lines
1.6 KiB
TOML
mainSections = ["post"]
|
|
featuredImageField = "image"
|
|
rssFullContent = true
|
|
favicon = "img/favicon.png"
|
|
|
|
[footer]
|
|
since = 2020
|
|
|
|
[dateFormat]
|
|
published = "Jan 02, 2006"
|
|
lastUpdated = "Jan 02, 2006 15:04 MST"
|
|
|
|
[sidebar]
|
|
emoji = "🍥"
|
|
subtitle = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
|
|
[sidebar.avatar]
|
|
enabled = true
|
|
local = true
|
|
src = "img/logo.jpg"
|
|
|
|
[article]
|
|
math = false
|
|
toc = true
|
|
readingTime = true
|
|
|
|
[article.license]
|
|
enabled = true
|
|
default = "Licensed under CC BY-NC-SA 4.0"
|
|
|
|
[comments]
|
|
enabled = true
|
|
provider = "disqus"
|
|
|
|
[comments.disqusjs]
|
|
|
|
[comments.utterances]
|
|
issueTerm = "pathname"
|
|
|
|
[comments.remark42]
|
|
|
|
[comments.vssue]
|
|
autoCreateIssue = false
|
|
|
|
[comments.waline]
|
|
emoji = ["https://unpkg.com/@waline/emojis@1.0.1/weibo"]
|
|
requiredMeta = ["name", "email", "url"]
|
|
|
|
[comments.waline.locale]
|
|
admin = "Admin"
|
|
|
|
[comments.twikoo]
|
|
|
|
[comments.cactus]
|
|
defaultHomeserverUrl = "https://matrix.cactus.chat:8448"
|
|
serverName = "cactus.chat"
|
|
siteName = ""
|
|
|
|
[comments.giscus]
|
|
reactionsEnabled = 1
|
|
emitMetadata = 0
|
|
|
|
[comments.gitalk]
|
|
|
|
[comments.cusdis]
|
|
|
|
[[widgets.homepage]]
|
|
type = "search"
|
|
|
|
[[widgets.homepage]]
|
|
type = "archives"
|
|
|
|
[widgets.homepage.params]
|
|
limit = 5
|
|
|
|
[[widgets.homepage]]
|
|
type = "taxonomy"
|
|
|
|
[widgets.homepage.params]
|
|
limit = 10
|
|
type = "tags"
|
|
icon = "tag"
|
|
|
|
[[widgets.homepage]]
|
|
type = "taxonomy"
|
|
|
|
[widgets.homepage.params]
|
|
limit = 10
|
|
type = "categories"
|
|
icon = "categories"
|
|
|
|
[[widgets.page]]
|
|
type = "toc"
|
|
|
|
[opengraph.twitter]
|
|
card = "summary_large_image"
|
|
|
|
[defaultImage.opengraph]
|
|
enabled = false
|
|
local = false
|
|
|
|
[colorScheme]
|
|
toggle = true
|
|
default = "auto"
|
|
|
|
[imageProcessing.cover]
|
|
enabled = true
|
|
|
|
[imageProcessing.content]
|
|
enabled = true |