]> danix's work - danix.xyz-2.git/commitdiff
fix: move theme params out of [taxonomies] into [params], lower related threshold release_28042026-2058
authorDanilo M. <redacted>
Tue, 28 Apr 2026 18:58:01 +0000 (20:58 +0200)
committerDanilo M. <redacted>
Tue, 28 Apr 2026 18:58:01 +0000 (20:58 +0200)
hugo.toml

index 505befb01268a32e6b1b266f0604012c8faf970d..2c94197c9375a5ce9970984553642415d4b7cfca 100644 (file)
--- 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