From a65ad4744f2a8bff4241549a828ebc92ee3e9aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC?= Date: Fri, 9 Aug 2024 11:44:49 +0300 Subject: [PATCH] Rss test 3 --- layouts/_default/rss.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index cb41a68..9b27479 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -21,7 +21,7 @@ {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} {{.}}{{end}}{{ if not .Date.IsZero }} - {{ .Date.Format "02.01.2006" | safeHTML }}{{ end }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{- with .OutputFormats.Get "RSS" -}} {{ printf "" .Permalink .MediaType | safeHTML }} {{- end -}} @@ -29,10 +29,9 @@ {{ .Title }} {{ .Permalink }} - {{ .Date.Format "02.01.2006" | safeHTML }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} - {{ .Content | html }} {{ .Content | html }} {{ end }}