summaryrefslogtreecommitdiffstats
path: root/hugo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml78
1 files changed, 37 insertions, 41 deletions
diff --git a/hugo.toml b/hugo.toml
index 885cbd2..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]
@@ -69,11 +74,11 @@ enableRobotsTXT = true
name = "here"
weight = 3
- # [[languages.it.menus.main]]
- # identifier = "repository"
- # pageRef = "/repository"
- # name = "repo"
- # weight = 4
+ [[languages.it.menus.main]]
+ identifier = "repository"
+ pageRef = "/repository"
+ name = "repo"
+ weight = 4
[[languages.it.menus.main]]
identifier = "legal"
@@ -108,11 +113,11 @@ enableRobotsTXT = true
name = "here"
weight = 3
- # [[languages.en.menus.main]]
- # identifier = "repository"
- # pageRef = "/repository"
- # name = "repo"
- # weight = 4
+ [[languages.en.menus.main]]
+ identifier = "repository"
+ pageRef = "/repository"
+ name = "repo"
+ weight = 4
[[languages.en.menus.main]]
identifier = "legal"
@@ -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