From 6b82bc48d643005443783671986e8c6d8931ea66 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sun, 15 Dec 2024 17:11:24 +0300 Subject: Auto-commit 2024-12-15 --- layouts/_default/rss.xml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index ca6663a..a329f0c 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -28,29 +28,23 @@ {{ printf "" .Permalink .MediaType | safeHTML }} {{- end -}} {{ range $pages }} - {{- $content := safeHTML (.Summary | html) -}} + {{- $content := .Summary | html -}} {{- if .Params.Description -}} - {{- $content = safeHTML ( .Params.Description | html) -}} + {{- $content = .Params.Description | html -}} {{- end -}} + {{ .Title }} {{ .Permalink }} - {{ if .Params.Image }} - - {{ .Permalink }} - {{ .Permalink }}{{.Params.Image}} - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} - - {{ end }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Params.Author.email }}{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} - + {{ end }} {{ $content }} - + ]]> {{ end }} -- cgit v1.2.3