summaryrefslogtreecommitdiffstats
path: root/config/_default/hugo.toml
diff options
context:
space:
mode:
authoranoduck <9925396+anoduck@users.noreply.github.com>2025-03-28 18:33:33 -0400
committeranoduck <9925396+anoduck@users.noreply.github.com>2025-03-28 18:36:22 -0400
commit57dcd87622abdaae205a0e4d9cc884a4e802c17c (patch)
tree578179ded2b31a591139a6c900c7f28854c61549 /config/_default/hugo.toml
parent91b15d9fadd7308ddb68d0faeb610d1583be536b (diff)
fix(google): google 404
made modifications to prevent 404 errors with google.
Diffstat (limited to 'config/_default/hugo.toml')
-rw-r--r--config/_default/hugo.toml24
1 files changed, 23 insertions, 1 deletions
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml
index 742cd54..7d5d1b1 100644
--- a/config/_default/hugo.toml
+++ b/config/_default/hugo.toml
@@ -50,6 +50,29 @@ home = ["HTML", "RSS", "REDIR"]
disabled = false
privacyEnhanced = true
+# sections = [ "reasons", "fpnav", "docs", "evidence", "legal", "communication", "posts", "news" ]
+[permalinks]
+ [permalinks.page]
+ news = "/news/:slug/"
+ posts = "/posts/:slug/"
+ evidence = "/evidence/:slug/"
+ legal = "/legal/:slug/"
+ communication = "/communication/:slug/"
+ docs = "/docs/:slug/"
+ reasons = "/reasons/:slug/"
+ fpnav = "/fpnav/:slug/"
+ persons = "/persons/:slug/"
+ [permalinks.section]
+ news = "/news/"
+ posts = "/posts/"
+ evidence = "/evidence/"
+ legal = "/legal/"
+ communication = "/communication/"
+ docs = "/docs/"
+ reasons = "/reasons/"
+ fpnav = "/fpnav/"
+ persons = "/persons/"
+
[services]
[services.instagram]
disableInlineCSS = true
@@ -121,4 +144,3 @@ home = ["HTML", "RSS", "REDIR"]
path = "github.com/anoduck/mod-popup"
[[module.imports]]
path = "github.com/anoduck/mod-juxtapose"
-