Skip to content

Commit

Permalink
Update to congo v2.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
kneep committed Sep 16, 2024
1 parent 20c6a87 commit 4da0350
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 20 deletions.
4 changes: 2 additions & 2 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

theme = "congo"
baseURL = "https://kneep.github.io/"
defaultContentLanguage = "zh-cn"
defaultContentLanguage = "zh-Hans"

enableRobotsTXT = true
paginate = 10
paginate = 15
summaryLength = 0

googleAnalytics = "G-D9SNZ16ZSE"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
languageCode = "zh-cn"
languageCode = "zh-Hans"
languageName = "简体中文"
languageDirection = "ltr"
weight = 1
Expand Down
3 changes: 1 addition & 2 deletions config/_default/markup.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

[highlight]
noClasses = false
style = "rose-pine-dawn"

[tableOfContents]
startLevel = 2
endLevel = 4
endLevel = 3
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
weight = 30

[[main]]
identifier = "search"
identifier = "搜索"
weight = 99
[main.params]
action = "search"

[[main]]
identifier = "locale"
identifier = "语言"
weight = 100
[main.params]
action = "locale"
Expand All @@ -42,6 +42,6 @@
# the copyright notice. Configure as per the main menu above.

# [[footer]]
# name = "Tags"
# name = "标签"
# pageRef = "tags"
# weight = 10
22 changes: 11 additions & 11 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ enableSearch = true
enableCodeCopy = true
enableImageLazyLoading = true
enableImageWebp = true
enableQuicklink = true

# robots = ""
fingerprintAlgorithm = "sha256"
Expand All @@ -26,19 +27,19 @@ fingerprintAlgorithm = "sha256"
[footer]
showCopyright = true
showThemeAttribution = true
showAppearanceSwitcher = false
showAppearanceSwitcher = true
showScrollToTop = true

[homepage]
layout = "profile" # valid options: page, profile, custom
showRecent = true
recentLimit = 5
recentLimit = 10

[article]
showDate = true
showDateUpdated = true
showAuthor = true
showBreadcrumbs = false
showBreadcrumbs = true
showDraftLabel = true
showEdit = false
# editURL = "https://github.com/username/repo/"
Expand All @@ -54,11 +55,11 @@ fingerprintAlgorithm = "sha256"
# sharingLinks = ["facebook", "x-twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line", "weibo"]

[list]
showBreadcrumbs = false
showBreadcrumbs = true
showSummary = false
showTableOfContents = false
showTaxonomies = true
groupByYear = true
showTableOfContents = true
showTaxonomies = false
groupByYear = false
paginationWidth = 1

[sitemap]
Expand All @@ -70,10 +71,9 @@ fingerprintAlgorithm = "sha256"
[fathomAnalytics]
# site = "ABC12345"

[plausibleAnalytics]
# domain = "blog.yoursite.com"
# event = ""
# script = ""
#[umamiAnalytics]
# site = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
# region = "eu" # Can be either "eu" or "us"

[verification]
# google = ""
Expand Down
2 changes: 1 addition & 1 deletion themes/congo
Submodule congo updated 109 files

0 comments on commit 4da0350

Please sign in to comment.