summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/index.atom.xml5
-rw-r--r--layouts/index.gemini_atom.xml5
-rw-r--r--layouts/taxonomy/taxonomy.atom.xml5
-rw-r--r--layouts/taxonomy/taxonomy.gemini_atom.xml5
-rw-r--r--layouts/term/term.atom.xml5
-rw-r--r--layouts/term/term.gemini_atom.xml5
6 files changed, 18 insertions, 12 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
index f65c1fe..6c3a111 100644
--- a/layouts/index.atom.xml
+++ b/layouts/index.atom.xml
@@ -37,11 +37,12 @@
<updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
<link href="{{ .Permalink }}atom.xml" rel="self" />
<link href="{{ .Permalink }}" rel="alternate" />
+ {{- with $authorName }}
<author>
- <name>{{ $authorName }}</name>
+ <name>{{ . }}</name>
{{- with $authorEmail }}
<email>{{ . }}</email>{{ end }}
- </author>
+ </author>{{ end }}
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
<subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }}
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml
index fc0a12a..3b99fcf 100644
--- a/layouts/index.gemini_atom.xml
+++ b/layouts/index.gemini_atom.xml
@@ -37,11 +37,12 @@
<updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
<link href="{{ replace .Permalink "https://" "gemini://" | replaceRE `(?m)index.gmi$` "atom.xml" | safeURL }}" rel="self" />
<link href="{{ replace .Permalink "https://" "gemini://" | replaceRE `(?m)index.gmi$` "" | safeURL }}" rel="alternate" />
+ {{- with $authorName }}
<author>
- <name>{{ $authorName }}</name>
+ <name>{{ . }}</name>
{{- with $authorEmail }}
<email>{{ . }}</email>{{ end }}
- </author>
+ </author>{{ end }}
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
<subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }}
diff --git a/layouts/taxonomy/taxonomy.atom.xml b/layouts/taxonomy/taxonomy.atom.xml
index 50d72fa..9ceeb79 100644
--- a/layouts/taxonomy/taxonomy.atom.xml
+++ b/layouts/taxonomy/taxonomy.atom.xml
@@ -37,11 +37,12 @@
<updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
<link href="{{ .Permalink }}atom.xml" rel="self" />
<link href="{{ .Permalink }}" rel="alternate" />
+ {{- with $authorName }}
<author>
- <name>{{ $authorName }}</name>
+ <name>{{ . }}</name>
{{- with $authorEmail }}
<email>{{ . }}</email>{{ end }}
- </author>
+ </author>{{ end }}
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
<subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }}
diff --git a/layouts/taxonomy/taxonomy.gemini_atom.xml b/layouts/taxonomy/taxonomy.gemini_atom.xml
index 098cc4f..52bd9f7 100644
--- a/layouts/taxonomy/taxonomy.gemini_atom.xml
+++ b/layouts/taxonomy/taxonomy.gemini_atom.xml
@@ -37,11 +37,12 @@
<updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
<link href="{{ replace .Permalink "https://" "gemini://" | replaceRE `(?m)index.gmi$` "atom.xml" | safeURL }}" rel="self" />
<link href="{{ replace .Permalink "https://" "gemini://" | replaceRE `(?m)index.gmi$` "" | safeURL }}" rel="alternate" />
+ {{- with $authorName }}
<author>
- <name>{{ $authorName }}</name>
+ <name>{{ . }}</name>
{{- with $authorEmail }}
<email>{{ . }}</email>{{ end }}
- </author>
+ </author>{{ end }}
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
<subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }}
diff --git a/layouts/term/term.atom.xml b/layouts/term/term.atom.xml
index 50d72fa..9ceeb79 100644
--- a/layouts/term/term.atom.xml
+++ b/layouts/term/term.atom.xml
@@ -37,11 +37,12 @@
<updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
<link href="{{ .Permalink }}atom.xml" rel="self" />
<link href="{{ .Permalink }}" rel="alternate" />
+ {{- with $authorName }}
<author>
- <name>{{ $authorName }}</name>
+ <name>{{ . }}</name>
{{- with $authorEmail }}
<email>{{ . }}</email>{{ end }}
- </author>
+ </author>{{ end }}
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
<subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }}
diff --git a/layouts/term/term.gemini_atom.xml b/layouts/term/term.gemini_atom.xml
index a4826bc..1323308 100644
--- a/layouts/term/term.gemini_atom.xml
+++ b/layouts/term/term.gemini_atom.xml
@@ -37,11 +37,12 @@
<updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
<link href="{{ replace .Permalink "https://" "gemini://" | replaceRE `(?m)index.gmi$` "atom.xml" | safeURL }}" rel="self" />
<link href="{{ replace .Permalink "https://" "gemini://" | replaceRE `(?m)index.gmi$` "" | safeURL }}" rel="alternate" />
+ {{- with $authorName }}
<author>
- <name>{{ $authorName }}</name>
+ <name>{{ . }}</name>
{{- with $authorEmail }}
<email>{{ . }}</email>{{ end }}
- </author>
+ </author>{{ end }}
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
<subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Data.Pages }}