www-from-model/config/_default/params.toml
Adina Wagner f3267c5a06 override recent articles partial to list term pages
thanks to @msz for idea and execution steps.
This commit takes the existing recent-articles.html partial
from themes/congo/layout/partials and copies it to override
the theme partial. Instead of listing 'Site.RegularPages' that
match the configured content in the 'mainSections'
configuration, it takes the more general Site.Pages, which
would allow listing Term Pages (see
https://gohugo.io/quick-reference/glossary/#term-page).

disable recent section in configuration

At its current state, it is not polished enough to enable it
2026-04-22 11:29:20 +02:00

69 lines
1.7 KiB
TOML

# -- Theme Options --
# These options control how the theme functions and allow you to
# customise the display of your website.
#
# Refer to the theme docs for more details about each of these parameters.
# https://jpanther.github.io/congo/docs/configuration/#theme-parameters
colorScheme = "fire"
defaultAppearance = "light" # valid options: light or dark
autoSwitchAppearance = true
enableSearch = true
enableCodeCopy = true
enableImageLazyLoading = true
enableImageWebp = true
enableQuicklink = true
# robots = ""
fingerprintAlgorithm = "sha256"
[header]
layout = "hybrid" # valid options: basic, hamburger, hybrid, custom
logo = "img/logo.png"
logoDark = "img/logo.png"
showTitle = true
[footer]
showCopyright = true
showThemeAttribution = true
showAppearanceSwitcher = true
showScrollToTop = true
[homepage]
layout = "custom" # valid options: page, profile, custom
showRecent = false
recentLimit = 5
[article]
showDate = false
showDateUpdated = false
showAuthor = false
showBreadcrumbs = true
showDraftLabel = false
#showEdit = true
#editURL = "https://pool.psychoinformatics.de/ui/"
#editAppendPath = true
showHeadingAnchors = true
showPagination = true
invertPagination = false
showReadingTime = false
showTableOfContents = false
showTaxonomies = false
#showWordCount = false
#showComments = false
# sharingLinks = ["facebook", "x-twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "threads", "telegram", "line", "weibo", "xing", "bluesky"]
[list]
showBreadcrumbs = true
showSummary = false
showTableOfContents = true
showTaxonomies = true
groupByYear = false
paginationWidth = 1
[sitemap]
#excludedKinds = ["taxonomy", "term"]
[taxonomy]
showTermCount = true