aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-04-30 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-04-30 00:00:00 +0000
commit0f3c967d08cec7d9cc6e78f6f72c86726fc7d290bf3e5698b907d179f15aee6d (patch)
treeb4a3217abde74d63c545c3604803fab9c03207b02b5c0bd97610859b2c037349 /layouts
parenta6d40f0ad8ec4912dc014d44ef2b454bf65bec61ed5fd8a018acf5db2124ca26 (diff)
downloadhugo-theme-journal-0f3c967d08cec7d9cc6e78f6f72c86726fc7d290bf3e5698b907d179f15aee6d.tar.gz
hugo-theme-journal-0f3c967d08cec7d9cc6e78f6f72c86726fc7d290bf3e5698b907d179f15aee6d.zip
Add back self-closing tags
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.atom.xml6
-rw-r--r--layouts/index.gemini_atom.xml6
2 files changed, 6 insertions, 6 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
index 1bb57f4..ffbedc9 100644
--- a/layouts/index.atom.xml
+++ b/layouts/index.atom.xml
@@ -3,8 +3,8 @@
<id>{{ .Permalink }}</id>
<title>{{ .Site.Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
- <link href="{{ .Permalink }}atom.xml" rel="self">
- <link href="{{ .Permalink }}" rel="alternate">
+ <link href="{{ .Permalink }}atom.xml" rel="self" />
+ <link href="{{ .Permalink }}" rel="alternate" />
<author>
<name>{{ .Site.Author.name }}</name>
<email>{{ .Site.Author.email }}</email>
@@ -16,7 +16,7 @@
<id>{{ .Permalink }}</id>
<title type="html">{{ .Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
- <link href="{{ .Permalink }}">
+ <link href="{{ .Permalink }}" />
<content type="html">{{ .Content | html }}</content>
</entry>{{ end }}
</feed>
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml
index 7d9cba9..7025a00 100644
--- a/layouts/index.gemini_atom.xml
+++ b/layouts/index.gemini_atom.xml
@@ -3,8 +3,8 @@
<id>{{ replace .Permalink "https://" "gemini://" }}</id>
<title>{{ .Site.Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
- <link href="{{ replace .Permalink "https://" "gemini://" | safeURL }}atom.xml" rel="self">
- <link href="{{ replace .Permalink "https://" "gemini://" | safeURL }}" rel="alternate">
+ <link href="{{ replace .Permalink "https://" "gemini://" | safeURL }}atom.xml" rel="self" />
+ <link href="{{ replace .Permalink "https://" "gemini://" | safeURL }}" rel="alternate" />
<author>
<name>{{ .Site.Author.name }}</name>
<email>{{ .Site.Author.email }}</email>
@@ -16,6 +16,6 @@
<id>{{ replace .Permalink "https://" "gemini://" | safeURL }}</id>
<title>{{ .Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
- <link href="{{ replace .Permalink "https://" "gemini://" | safeURL }}" rel="alternate">
+ <link href="{{ replace .Permalink "https://" "gemini://" | safeURL }}" rel="alternate" />
</entry>{{ end }}
</feed>