do not pretty-print the machine-parsable RSS

This commit is contained in:
Wouter Groeneveld 2021-06-02 08:11:49 +02:00
parent 02c96adc20
commit 746ccfd29f
1 changed files with 0 additions and 1 deletions

View File

@ -1,7 +1,6 @@
{{- $baseurl := .Site.BaseURL -}}
{{- $pages := .Site.RegularPages -}}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
{{- printf "<?xml-stylesheet href=\"/pretty-feed-v3.xsl\" type=\"text/xsl\"?>" | safeHTML }}
<rss version='2.0' xmlns:content='http://purl.org/rss/1.0/modules/content/' xmlns:atom='http://www.w3.org/2005/Atom'>
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>