From afc1f095745a548ff400f187d53bc1570f02bcf2 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Sat, 13 Sep 2025 11:50:38 +0200 Subject: RSS full content, index renamed to home, fix text bugs --- layouts/rss.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'layouts/rss.xml') diff --git a/layouts/rss.xml b/layouts/rss.xml index 4baaa59..9f70eb5 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -37,11 +37,11 @@ {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }} Hugo - {{ site.Language.LanguageCode }}{{ with $authorEmail }} - {{.}}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with $authorEmail }} - {{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} - {{ . }}{{ end }}{{ if not .Date.IsZero }} - {{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{ site.Language.LanguageCode }} + {{- with $authorName }}{{ . }}{{ end }} + {{- with $authorName }}{{ . }}{{ end }} + {{- with .Site.Copyright }}{{ . }}{{ end }} + {{- if not .Date.IsZero }}{{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{- with .OutputFormats.Get "RSS" }} {{ printf "" .Permalink .MediaType | safeHTML }} {{- end }} @@ -50,9 +50,9 @@ {{ .Title }} {{ .Permalink }} {{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{- with $authorEmail }}{{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }} + {{- with $authorName }}{{ . }}{{ end }} {{ .Permalink }} - {{ .Summary | transform.XMLEscape | safeHTML }} + {{ .Content | transform.XMLEscape | safeHTML }} {{- end }} -- cgit v1.2.3