From 57dcd87622abdaae205a0e4d9cc884a4e802c17c Mon Sep 17 00:00:00 2001 From: anoduck <9925396+anoduck@users.noreply.github.com> Date: Fri, 28 Mar 2025 18:33:33 -0400 Subject: fix(google): google 404 made modifications to prevent 404 errors with google. --- config/_default/hugo.toml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'config/_default/hugo.toml') 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" - -- cgit v1.2.3