From a6ee97ba8695b43c8045c60c058e2397a02903ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Dom=C3=ADnguez?= Date: Fri, 4 Apr 2025 12:41:01 -0400 Subject: [PATCH] transalte permalinks to spanish --- hugo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hugo.toml b/hugo.toml index d55f6f8..64c44eb 100644 --- a/hugo.toml +++ b/hugo.toml @@ -46,7 +46,10 @@ defaultContentLanguage = 'es' [markup.goldmark.renderer] unsafe = true [permalinks] - post = "https://peterdominguez.art/blog/" + post = "/blog" + [permalinks.term] + categories = "/categorias/:slug/" + tags = "/etiquetas/:slug/" [menu] [[menu.header]] name = "blog" @@ -55,7 +58,7 @@ defaultContentLanguage = 'es' [[menu.header]] name = "literatura" weight = 2 - url = "/categories/literatura/" + url = "/categorias/literatura/" [[menu.header]] name = "autor" weight = 3 @@ -68,3 +71,5 @@ defaultContentLanguage = 'es' [outputs] home = ["HTML", "JSON"] taxonomy = ["HTML"] +[pagination] + path = 'pagina'