diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-30 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-30 00:00:00 +0000 |
commit | f207573324e2a946661f947e55cde2cd068e09bc3dad74fdffb9aa0f53496eea (patch) | |
tree | cb5a0ac38352451ee96d0385d5dadcfe546c67f8ca560e92ebff670edf42851d /layouts/index.gemini_atom.xml | |
parent | 294e192b5069e3c18ad472dfe111330c4a2042bf0ec0441aabec31e1156ad631 (diff) | |
download | hugo-theme-journal-f207573324e2a946661f947e55cde2cd068e09bc3dad74fdffb9aa0f53496eea.tar.gz hugo-theme-journal-f207573324e2a946661f947e55cde2cd068e09bc3dad74fdffb9aa0f53496eea.zip |
Remove self-closing tags from Atom feeds
Diffstat (limited to 'layouts/index.gemini_atom.xml')
-rw-r--r-- | layouts/index.gemini_atom.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml index 0dee4ea..c52f632 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" />{{ if not .Date.IsZero }}{{ end }} + <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 }} <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> |