summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-28 20:58:01 +0200
committerDanilo M. <danix@danix.xyz>2026-04-28 20:58:01 +0200
commit7b3ff5ffc0146432c405a09676f4ec2c15067895 (patch)
tree995a9f2681eb8a122a9fb8489cf5e0b4ed1bdc47
parent59bd0777c3d68ee90301f928a0bfd7a8a610df65 (diff)
downloaddanixxyz-7b3ff5ffc0146432c405a09676f4ec2c15067895.tar.gz
danixxyz-7b3ff5ffc0146432c405a09676f4ec2c15067895.zip
fix: move theme params out of [taxonomies] into [params], lower related thresholdrelease_28042026-2058
-rw-r--r--hugo.toml58
1 files changed, 27 insertions, 31 deletions
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