Merge pull request #2852 from MaikelChan/badges

 Implemented category badges in secondary color and better granularity for showing categories or tags
This commit is contained in:
Nuno C.
2026-04-13 22:38:59 +01:00
committed by GitHub
5 changed files with 69 additions and 24 deletions
+4 -2
View File
@@ -87,8 +87,10 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
showTableOfContents = false
# showRelatedContent = false
# relatedContentLimit = 3
showTaxonomies = false # use showTaxonomies OR showCategoryOnly, not both
showCategoryOnly = false # use showTaxonomies OR showCategoryOnly, not both
showTaxonomies = false # Enable the display of taxonomies for the related article.
showCategories = true # These will show if showTaxonomies is true.
showTags = true # These will show if showTaxonomies is true.
showCategoriesInSecondaryColor = false # This will change the color of category badges, so the user can better distinguish between the two. Only if showTaxonomies is true.
showAuthorsBadges = false
showWordCount = true
# sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram", "line"]