aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.atom.xml6
-rw-r--r--layouts/index.gemini_atom.xml2
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
index 7c9359f..b78d178 100644
--- a/layouts/index.atom.xml
+++ b/layouts/index.atom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ .Site.Title }}{{ end }}</title>
+ <title>{{ .Site.Title }}</title>
<link href="{{ .Permalink }}atom.xml" rel="self"/>
<link href="{{ .Permalink }}"/>{{ if not .Date.IsZero }}
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>{{ end }}
@@ -11,12 +11,12 @@
</author>
<generator>Hugo -- gohugo.io</generator>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }}
<entry>
- {{ `<title type="html">{{ .Title }}]]></title>
+ <title type="html">{{ .Title }}></title>
<link href="{{ .Permalink }}"/>
<id>{{ .Permalink }}</id>
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
{{- if .Content }}
- {{ `<content type="html"><{{ .Content }}</content>
+ <content type="html"><{{ .Content }}</content>
{{- end }}
</entry>{{ end }}
</feed>
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 }}