aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/index.atom.xml3
-rw-r--r--layouts/index.gemini_atom.xml3
-rw-r--r--layouts/taxonomy/taxonomy.atom.xml3
-rw-r--r--layouts/taxonomy/taxonomy.gemini_atom.xml3
-rw-r--r--layouts/term/term.atom.xml3
-rw-r--r--layouts/term/term.gemini_atom.xml3
6 files changed, 12 insertions, 6 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
index 3fbf10b..d31c3fd 100644
--- a/layouts/index.atom.xml
+++ b/layouts/index.atom.xml
@@ -7,7 +7,8 @@
<link href="{{ .Permalink }}" rel="alternate" />
<author>
<name>{{ .Site.Params.author.name }}</name>
- <email>{{ .Site.Params.author.email }}</email>
+ {{- with .Site.Params.author.email }}
+ <email>{{ . }}</email>{{ end }}
</author>
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml
index b69251a..014cfdb 100644
--- a/layouts/index.gemini_atom.xml
+++ b/layouts/index.gemini_atom.xml
@@ -7,7 +7,8 @@
<link href="{{ replace .Permalink "https://" "gemini://" | replaceRE `(?m)index.gmi$` "" | safeURL }}" rel="alternate" />
<author>
<name>{{ .Site.Params.author.name }}</name>
- <email>{{ .Site.Params.author.email }}</email>
+ {{- with .Site.Params.author.email }}
+ <email>{{ . }}</email>{{ end }}
</author>
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
diff --git a/layouts/taxonomy/taxonomy.atom.xml b/layouts/taxonomy/taxonomy.atom.xml
index 94fbeff..5749d56 100644
--- a/layouts/taxonomy/taxonomy.atom.xml
+++ b/layouts/taxonomy/taxonomy.atom.xml
@@ -7,7 +7,8 @@
<link href="{{ .Permalink }}" rel="alternate" />
<author>
<name>{{ .Site.Params.author.name }}</name>
- <email>{{ .Site.Params.author.email }}</email>
+ {{- with .Site.Params.author.email }}
+ <email>{{ . }}</email>{{ end }}
</author>
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
diff --git a/layouts/taxonomy/taxonomy.gemini_atom.xml b/layouts/taxonomy/taxonomy.gemini_atom.xml
index d933d49..a3db9a2 100644
--- a/layouts/taxonomy/taxonomy.gemini_atom.xml
+++ b/layouts/taxonomy/taxonomy.gemini_atom.xml
@@ -7,7 +7,8 @@
<link href="{{ replace .Permalink "https://" "gemini://" | replaceRE `(?m)index.gmi$` "" | safeURL }}" rel="alternate" />
<author>
<name>{{ .Site.Params.author.name }}</name>
- <email>{{ .Site.Params.author.email }}</email>
+ {{- with .Site.Params.author.email }}
+ <email>{{ . }}</email>{{ end }}
</author>
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
diff --git a/layouts/term/term.atom.xml b/layouts/term/term.atom.xml
index 94fbeff..5749d56 100644
--- a/layouts/term/term.atom.xml
+++ b/layouts/term/term.atom.xml
@@ -7,7 +7,8 @@
<link href="{{ .Permalink }}" rel="alternate" />
<author>
<name>{{ .Site.Params.author.name }}</name>
- <email>{{ .Site.Params.author.email }}</email>
+ {{- with .Site.Params.author.email }}
+ <email>{{ . }}</email>{{ end }}
</author>
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>
diff --git a/layouts/term/term.gemini_atom.xml b/layouts/term/term.gemini_atom.xml
index d933d49..a3db9a2 100644
--- a/layouts/term/term.gemini_atom.xml
+++ b/layouts/term/term.gemini_atom.xml
@@ -7,7 +7,8 @@
<link href="{{ replace .Permalink "https://" "gemini://" | replaceRE `(?m)index.gmi$` "" | safeURL }}" rel="alternate" />
<author>
<name>{{ .Site.Params.author.name }}</name>
- <email>{{ .Site.Params.author.email }}</email>
+ {{- with .Site.Params.author.email }}
+ <email>{{ . }}</email>{{ end }}
</author>
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>