incorporate rss prompt for tags and also improve feed titles and descriptions

This commit is contained in:
Simon Belmont 2025-03-29 11:32:36 -04:00
parent b61561a2bf
commit 23eb957765
3 changed files with 74 additions and 3 deletions

View file

@ -45,9 +45,9 @@
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} de {{ end }}{{ .Site.Title }}{{ end }}</title>
<title>Contenido en la categoría {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} por {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>{{ if ne .Title .Site.Title }}{{ with .Title }}{{ . }} {{ end }}{{ end }}reciente de {{ .Site.Title }}</description>
<description>Contenido reciente en la categoría {{ if ne .Title .Site.Title }}{{ with .Title }}{{ . }} {{ end }}{{ end }}por {{ .Site.Title }}</description>
<generator>Hugo {{ hugo.Version }}</generator>
<language>{{ site.Language.LanguageCode }}</language>{{ with $authorEmail }}
<managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with $authorEmail }}