style: format TOML files (#1266)

* style: format TOML files

* style: format wrangler.toml
This commit is contained in:
Jimmy
2026-02-17 19:20:09 +01:00
committed by GitHub
parent 5e57b5ad29
commit 475c956fd6
8 changed files with 81 additions and 82 deletions
+4 -6
View File
@@ -1,14 +1,12 @@
baseURL = "https://demo.stack.cai.im/"
languageCode = "en-us"
title = "Hugo Theme Stack"
baseURL = "https://demo.stack.cai.im/"
languageCode = "en-us"
title = "Hugo Theme Stack"
# Theme i18n support
# See i18n folder for available languages
defaultContentLanguage = "en"
# Set hasCJKLanguage to true if DefaultContentLanguage is a CJK language
# This will make .Summary and .WordCount behave correctly
hasCJKLanguage = false
hasCJKLanguage = false
[[module.imports]]
path = "github.com/CaiJimmy/hugo-theme-stack/v3"
+4
View File
@@ -2,6 +2,7 @@
languageName = "English"
title = "Hugo Theme Stack"
weight = 1
[en.params.sidebar]
subtitle = "Card-style Hugo theme designed for bloggers"
@@ -9,6 +10,7 @@
languageName = "简体中文"
title = "Hugo 主题 Stack"
weight = 2
[zh.params.sidebar]
subtitle = "为博客设计的卡片式 Hugo 主题"
@@ -16,6 +18,7 @@
languageName = "正體中文"
title = "Hugo 主題 Stack"
weight = 3
[zh-hant-tw.params.sidebar]
subtitle = "為博客設計的卡片式 Hugo 主題"
@@ -23,5 +26,6 @@
languageName = "日本語"
title = "Hugo Theme Stack"
weight = 4
[ja.params.sidebar]
subtitle = "ブログ用のカードスタイルの Hugo テーマ"
+2
View File
@@ -2,9 +2,11 @@
[goldmark.extensions]
[goldmark.extensions.passthrough]
enable = true
[goldmark.extensions.passthrough.delimiters]
block = [["\\[", "\\]"], ["$$", "$$"]]
inline = [["\\(", "\\)"]]
[goldmark.renderer]
## Set to true if you have HTML content inside Markdown
unsafe = true
+2
View File
@@ -2,6 +2,7 @@
identifier = "github"
name = "GitHub"
url = "https://github.com/CaiJimmy/hugo-theme-stack"
[social.params]
icon = "brand-github"
@@ -9,5 +10,6 @@
identifier = "twitter"
name = "Twitter"
url = "https://twitter.com"
[social.params]
icon = "brand-twitter"
+1 -1
View File
@@ -22,7 +22,7 @@ favicon = "img/avatar.png"
{ type = "categories", params = { limit = 10 } },
{ type = "tag-cloud", params = { limit = 10 } },
]
page = [{ type = "toc" }]
page = [{ type = "toc" }]
[comments]
# See complete configuration in config/_default/params.toml
+1 -2
View File
@@ -1,8 +1,7 @@
includeNewer = true
threshold = 60
toLower = false
indices = [
indices = [
{ name = "tags", weight = 100 },
{ name = "categories", weight = 200 },
]