diff options
Diffstat (limited to 'layouts/taxonomy/taxonomy.gemini_atom.xml')
-rw-r--r-- | layouts/taxonomy/taxonomy.gemini_atom.xml | 3 |
1 files changed, 2 insertions, 1 deletions
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> |