From fad23b813c94148f44b67319160e56b929b94398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Dom=C3=ADnguez?= Date: Sun, 3 May 2026 12:11:31 -0400 Subject: [PATCH] make changes to structure according to Hugo recommendations --- hugo.toml | 2 +- layouts/categories/rss.xml | 2 +- layouts/rss.xml | 2 +- layouts/tags/rss.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hugo.toml b/hugo.toml index 68b7e17..bce4b94 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,7 +1,7 @@ baseURL = 'https://peterdominguez.art' title = 'Peter Domínguez' theme = 'nightfall' -languageCode = 'es-DO' +languageLocal = 'es-DO' defaultContentLanguage = 'es' [params] user = "peter" diff --git a/layouts/categories/rss.xml b/layouts/categories/rss.xml index e03475f..8a79e80 100644 --- a/layouts/categories/rss.xml +++ b/layouts/categories/rss.xml @@ -49,7 +49,7 @@ {{ .Permalink }} Contenido reciente en la categoría {{ if ne .Title .Site.Title }}{{ with .Title }}{{ . }} {{ end }}{{ end }}por {{ .Site.Title }} Hugo {{ hugo.Version }} - {{ site.Language.LanguageCode }}{{ with $authorEmail }} + {{ .Site.Language.Locale }}{{ with $authorEmail }} {{.}}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with $authorEmail }} {{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} {{ . }}{{ end }}{{ if not .Date.IsZero }} diff --git a/layouts/rss.xml b/layouts/rss.xml index 93b01ae..0382a26 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -49,7 +49,7 @@ {{ .Permalink }} {{ if ne .Title .Site.Title }}{{ with .Title }}{{ . }} {{ end }}{{ end }}recientes de {{ .Site.Title }} Hugo {{ hugo.Version }} - {{ site.Language.LanguageCode }}{{ with $authorEmail }} + {{ site.Language.Locale }}{{ with $authorEmail }} {{.}}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with $authorEmail }} {{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} {{ . }}{{ end }}{{ if not .Date.IsZero }} diff --git a/layouts/tags/rss.xml b/layouts/tags/rss.xml index 6ef43f8..1a45cca 100644 --- a/layouts/tags/rss.xml +++ b/layouts/tags/rss.xml @@ -49,7 +49,7 @@ {{ .Permalink }} Contenido reciente publicado con la etiqueta «{{ if ne .Title .Site.Title }}{{ with .Title }}{{ . }}{{ end }}{{ end }}» por {{ .Site.Title }} Hugo {{ hugo.Version }} - {{ site.Language.LanguageCode }}{{ with $authorEmail }} + {{ site.Language.Locale }}{{ with $authorEmail }} {{.}}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with $authorEmail }} {{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} {{ . }}{{ end }}{{ if not .Date.IsZero }}