aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2021-12-20 14:01:04 +0200
committerGitHub <noreply@github.com>2021-12-20 14:01:04 +0200
commit0c647dc2b4a1de9373f5e4bfba65b78246c086e3 (patch)
treeb7fbc74be956a6918b5e0d037efc15a2dd3609a7
parentc3821977d23f853741e8d106e56a17795c9ef31c (diff)
parentf893d6d2d49cb8ef1483e83f597333b714c85715 (diff)
Merge pull request #216 from kaystrobach/patch-1
[TASK] add xml declaration to provide clean xml code for all readers
-rw-r--r--layouts/_default/list.xml1
-rw-r--r--layouts/index.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/list.xml b/layouts/_default/list.xml
index 219354b..283d5d0 100644
--- a/layouts/_default/list.xml
+++ b/layouts/_default/list.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<link rel="alternate" type="text/html" href="{{ .Site.BaseURL }}"/>
diff --git a/layouts/index.xml b/layouts/index.xml
index c8bce41..7219b4b 100644
--- a/layouts/index.xml
+++ b/layouts/index.xml
@@ -1,4 +1,5 @@
{{ if not .Site.Params.disableIncidentHistory }}
+<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<!--