style: format TOML files (#1266)
* style: format TOML files * style: format wrangler.toml
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
mainSections = ["post"]
|
mainSections = ["post"]
|
||||||
featuredImageField = "image"
|
featuredImageField = "image"
|
||||||
rssFullContent = true
|
rssFullContent = true
|
||||||
|
|
||||||
# Accepted values: "default", "lastmod"
|
# Accepted values: "default", "lastmod"
|
||||||
# default = see https://gohugo.io/quick-reference/glossary/#default-sort-order
|
# default = see https://gohugo.io/quick-reference/glossary/#default-sort-order
|
||||||
# lastmod = sort by last modified date, in descending order
|
# lastmod = sort by last modified date, in descending order
|
||||||
@@ -112,14 +111,9 @@ SortBy = "default"
|
|||||||
serverURL = ""
|
serverURL = ""
|
||||||
lang = ""
|
lang = ""
|
||||||
pageview = ""
|
pageview = ""
|
||||||
emoji = [
|
emoji = ["https://unpkg.com/@waline/emojis@1.0.1/weibo"]
|
||||||
"https://unpkg.com/@waline/emojis@1.0.1/weibo"
|
requiredMeta = ["name", "email", "url"]
|
||||||
]
|
|
||||||
requiredMeta = [
|
|
||||||
"name",
|
|
||||||
"email",
|
|
||||||
"url"
|
|
||||||
]
|
|
||||||
[comments.waline.locale]
|
[comments.waline.locale]
|
||||||
admin = "Admin"
|
admin = "Admin"
|
||||||
placeholder = ""
|
placeholder = ""
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
baseURL = "https://demo.stack.cai.im/"
|
baseURL = "https://demo.stack.cai.im/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "Hugo Theme Stack"
|
title = "Hugo Theme Stack"
|
||||||
|
|
||||||
# Theme i18n support
|
# Theme i18n support
|
||||||
# See i18n folder for available languages
|
# See i18n folder for available languages
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
|
|
||||||
# Set hasCJKLanguage to true if DefaultContentLanguage is a CJK language
|
# Set hasCJKLanguage to true if DefaultContentLanguage is a CJK language
|
||||||
# This will make .Summary and .WordCount behave correctly
|
# This will make .Summary and .WordCount behave correctly
|
||||||
hasCJKLanguage = false
|
hasCJKLanguage = false
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
languageName = "English"
|
languageName = "English"
|
||||||
title = "Hugo Theme Stack"
|
title = "Hugo Theme Stack"
|
||||||
weight = 1
|
weight = 1
|
||||||
|
|
||||||
[en.params.sidebar]
|
[en.params.sidebar]
|
||||||
subtitle = "Card-style Hugo theme designed for bloggers"
|
subtitle = "Card-style Hugo theme designed for bloggers"
|
||||||
|
|
||||||
@@ -9,6 +10,7 @@
|
|||||||
languageName = "简体中文"
|
languageName = "简体中文"
|
||||||
title = "Hugo 主题 Stack"
|
title = "Hugo 主题 Stack"
|
||||||
weight = 2
|
weight = 2
|
||||||
|
|
||||||
[zh.params.sidebar]
|
[zh.params.sidebar]
|
||||||
subtitle = "为博客设计的卡片式 Hugo 主题"
|
subtitle = "为博客设计的卡片式 Hugo 主题"
|
||||||
|
|
||||||
@@ -16,6 +18,7 @@
|
|||||||
languageName = "正體中文"
|
languageName = "正體中文"
|
||||||
title = "Hugo 主題 Stack"
|
title = "Hugo 主題 Stack"
|
||||||
weight = 3
|
weight = 3
|
||||||
|
|
||||||
[zh-hant-tw.params.sidebar]
|
[zh-hant-tw.params.sidebar]
|
||||||
subtitle = "為博客設計的卡片式 Hugo 主題"
|
subtitle = "為博客設計的卡片式 Hugo 主題"
|
||||||
|
|
||||||
@@ -23,5 +26,6 @@
|
|||||||
languageName = "日本語"
|
languageName = "日本語"
|
||||||
title = "Hugo Theme Stack"
|
title = "Hugo Theme Stack"
|
||||||
weight = 4
|
weight = 4
|
||||||
|
|
||||||
[ja.params.sidebar]
|
[ja.params.sidebar]
|
||||||
subtitle = "ブログ用のカードスタイルの Hugo テーマ"
|
subtitle = "ブログ用のカードスタイルの Hugo テーマ"
|
||||||
|
|||||||
@@ -2,9 +2,11 @@
|
|||||||
[goldmark.extensions]
|
[goldmark.extensions]
|
||||||
[goldmark.extensions.passthrough]
|
[goldmark.extensions.passthrough]
|
||||||
enable = true
|
enable = true
|
||||||
|
|
||||||
[goldmark.extensions.passthrough.delimiters]
|
[goldmark.extensions.passthrough.delimiters]
|
||||||
block = [["\\[", "\\]"], ["$$", "$$"]]
|
block = [["\\[", "\\]"], ["$$", "$$"]]
|
||||||
inline = [["\\(", "\\)"]]
|
inline = [["\\(", "\\)"]]
|
||||||
|
|
||||||
[goldmark.renderer]
|
[goldmark.renderer]
|
||||||
## Set to true if you have HTML content inside Markdown
|
## Set to true if you have HTML content inside Markdown
|
||||||
unsafe = true
|
unsafe = true
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
identifier = "github"
|
identifier = "github"
|
||||||
name = "GitHub"
|
name = "GitHub"
|
||||||
url = "https://github.com/CaiJimmy/hugo-theme-stack"
|
url = "https://github.com/CaiJimmy/hugo-theme-stack"
|
||||||
|
|
||||||
[social.params]
|
[social.params]
|
||||||
icon = "brand-github"
|
icon = "brand-github"
|
||||||
|
|
||||||
@@ -9,5 +10,6 @@
|
|||||||
identifier = "twitter"
|
identifier = "twitter"
|
||||||
name = "Twitter"
|
name = "Twitter"
|
||||||
url = "https://twitter.com"
|
url = "https://twitter.com"
|
||||||
|
|
||||||
[social.params]
|
[social.params]
|
||||||
icon = "brand-twitter"
|
icon = "brand-twitter"
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
includeNewer = true
|
includeNewer = true
|
||||||
threshold = 60
|
threshold = 60
|
||||||
toLower = false
|
toLower = false
|
||||||
|
|
||||||
indices = [
|
indices = [
|
||||||
{ name = "tags", weight = 100 },
|
{ name = "tags", weight = 100 },
|
||||||
{ name = "categories", weight = 200 },
|
{ name = "categories", weight = 200 },
|
||||||
|
|||||||
+3
-3
@@ -2,8 +2,8 @@ name = "hugo-theme-stack"
|
|||||||
compatibility_date = "2026-01-25"
|
compatibility_date = "2026-01-25"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
command = "chmod a+x ./.ci/build.sh && ./.ci/build.sh"
|
command = "chmod a+x ./.ci/build.sh && ./.ci/build.sh"
|
||||||
|
|
||||||
[assets]
|
[assets]
|
||||||
directory = "demo/public"
|
directory = "demo/public"
|
||||||
not_found_handling = "404-page"
|
not_found_handling = "404-page"
|
||||||
|
|||||||
Reference in New Issue
Block a user