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 | 972c0384e69b42e1fb2c87f1c221e12fab94830b60371c9d13ebebf1a341e4cd (patch) | |
tree | a5d7c8300e33ed4d491431d6cdddada87b45cbecfee050fcffe52422bf1c3d62 /layouts/index.gemini_atom.xml | |
parent | dc79bc325e6d71dd9dcbd48c78dbf57b5fb01bda3f04a95b92a6c6ab54d9a0ec (diff) | |
download | hugo-theme-journal-972c0384e69b42e1fb2c87f1c221e12fab94830b60371c9d13ebebf1a341e4cd.tar.gz hugo-theme-journal-972c0384e69b42e1fb2c87f1c221e12fab94830b60371c9d13ebebf1a341e4cd.zip |
Use site title for Atom feed title
Diffstat (limited to 'layouts/index.gemini_atom.xml')
-rw-r--r-- | layouts/index.gemini_atom.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml index 4e43a5e..769004b 100644 --- a/layouts/index.gemini_atom.xml +++ b/layouts/index.gemini_atom.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <id>{{ replace .Permalink "https://" "gemini://" }}</id> - <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ .Site.Title }}{{ end }}</title> + <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 }} |