From: Danilo M. Date: Tue, 28 Apr 2026 18:58:01 +0000 (+0200) Subject: fix: move theme params out of [taxonomies] into [params], lower related threshold X-Git-Tag: release_28042026-2058 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=7b3ff5ffc0146432c405a09676f4ec2c15067895;p=danix.xyz-2.git fix: move theme params out of [taxonomies] into [params], lower related threshold --- diff --git a/hugo.toml b/hugo.toml index 505befb..2c94197 100644 --- a/hugo.toml +++ b/hugo.toml @@ -10,6 +10,11 @@ enableRobotsTXT = true author = "Danilo Macrì" email = "danix@danix.xyz" twitterHandle = "danixland" + readingTime = true + shareButtons = true + relatedPosts = true + primaryAccent = "#a855f7" + secondaryAccent = "#00ff88" # Output format definitions [outputFormats] @@ -125,44 +130,35 @@ enableRobotsTXT = true tag = "tags" category = "categories" - # Theme options - readingTime = true - shareButtons = true - relatedPosts = true - - # Colors - primaryAccent = "#a855f7" - secondaryAccent = "#00ff88" - - # Article types with color mapping - [params.articleTypes.life] - label = "Life" - color_dark = "#f59e0b" - color_light = "#d97706" +# Article types with color mapping +[params.articleTypes.life] + label = "Life" + color_dark = "#f59e0b" + color_light = "#d97706" - [params.articleTypes.photo] - label = "Photo" - color_dark = "#ec4899" - color_light = "#be185d" +[params.articleTypes.photo] + label = "Photo" + color_dark = "#ec4899" + color_light = "#be185d" - [params.articleTypes.link] - label = "Link" - color_dark = "#38bdf8" - color_light = "#0284c7" +[params.articleTypes.link] + label = "Link" + color_dark = "#38bdf8" + color_light = "#0284c7" - [params.articleTypes.quote] - label = "Quote" - color_dark = "#00ff88" - color_light = "#008f5a" +[params.articleTypes.quote] + label = "Quote" + color_dark = "#00ff88" + color_light = "#008f5a" - [params.articleTypes.tech] - label = "Tech" - color_dark = "#a855f7" - color_light = "#7c3aed" +[params.articleTypes.tech] + label = "Tech" + color_dark = "#a855f7" + color_light = "#7c3aed" # Related content configuration [related] - threshold = 80 + threshold = 65 includeNewer = true toLower = true