Whitespace in templates.

This commit is contained in:
Fredrik Jonsson 2023-05-28 19:36:58 +02:00
commit 9bdec6ca76
3 changed files with 30 additions and 26 deletions

View file

@ -16,4 +16,4 @@
{{ partial "pagination.html" . }}
</main>
{{ end }}
{{ end -}}

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>

View file

@ -12,4 +12,4 @@
</div>
</article>
</main>
{{ end }}
{{ end -}}