summaryrefslogtreecommitdiff
path: root/layouts/index.gemini_atom.xml
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
commit2ac67528156e58f77fcd665b366bc4e44060ebbd1eaf383a97c193b30c93e72a (patch)
treee0fb4a0597681389f98a268471b8f8ff93118113797783af4924d9d4fd157900 /layouts/index.gemini_atom.xml
parentf207573324e2a946661f947e55cde2cd068e09bc3dad74fdffb9aa0f53496eea (diff)
downloadhugo-theme-journal-2ac67528156e58f77fcd665b366bc4e44060ebbd1eaf383a97c193b30c93e72a.tar.gz
hugo-theme-journal-2ac67528156e58f77fcd665b366bc4e44060ebbd1eaf383a97c193b30c93e72a.zip
Clean up Atom feed templates
Diffstat (limited to 'layouts/index.gemini_atom.xml')
-rw-r--r--layouts/index.gemini_atom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml
index c52f632..3c04d35 100644
--- a/layouts/index.gemini_atom.xml
+++ b/layouts/index.gemini_atom.xml
@@ -4,7 +4,7 @@
<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">{{ if not .Date.IsZero }}{{ end }}
+ <link href="{{ replace .Permalink "https://" "gemini://" | safeURL }}" rel="alternate">
<author>
<name>{{ .Site.Author.name }}</name>
<email>{{ .Site.Author.email }}</email>