aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorKay Strobach <github@kay-strobach.de>2022-02-03 17:11:52 +0100
committerGitHub <noreply@github.com>2022-02-03 17:11:52 +0100
commit4d786047a5d9c3b1830ac2328adf179b9fc83253 (patch)
tree6607f64cd428791f6192a645ee4ee74aa6b1a18e /layouts/_default
parent2a4441d1989da3b90de0b21237dc0119482eb53d (diff)
[BUGFIX] avoid escaping the xml prolugue in list.html
#226
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.xml b/layouts/_default/list.xml
index 283d5d0..5b7e2ce 100644
--- a/layouts/_default/list.xml
+++ b/layouts/_default/list.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<link rel="alternate" type="text/html" href="{{ .Site.BaseURL }}"/>