Whitespace in templates.

This commit is contained in:
Fredrik Jonsson 2023-05-28 19:36:58 +02:00
commit 9bdec6ca76

View file

@ -22,13 +22,13 @@
{{ with .OutputFormats.Get "RSS" -}}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end -}}
{{ range .Pages }}
{{ range .Pages -}}
<item>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
</item>
{{ end }}
{{ end -}}
</channel>
</rss>