aboutsummaryrefslogtreecommitdiff
path: root/layouts/term
diff options
context:
space:
mode:
authorNicholas Johnson <mail@nicholasjohnson.ch>2024-08-16 00:00:00 +0000
committerNicholas Johnson <mail@nicholasjohnson.ch>2024-08-16 00:00:00 +0000
commit1add0ac5ec185a7ffcdc2fd2b453211bbd3c122d645c0fbdf13b3464b8e05d37 (patch)
tree5cea50b388f839ac255edfa969314629c601da45651259599bed5a28f7068eaa /layouts/term
parentd54f296169ab29767836a1fcdd46c235c199b9105d00ff8635613393e46706da (diff)
downloadhugo-theme-journal-1add0ac5ec185a7ffcdc2fd2b453211bbd3c122d645c0fbdf13b3464b8e05d37.tar.gz
hugo-theme-journal-1add0ac5ec185a7ffcdc2fd2b453211bbd3c122d645c0fbdf13b3464b8e05d37.zip
Add support for new taxonomy API
Diffstat (limited to 'layouts/term')
-rw-r--r--layouts/term/term.atom.xml4
-rw-r--r--layouts/term/term.gemini_atom.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/term/term.atom.xml b/layouts/term/term.atom.xml
index e499961..94fbeff 100644
--- a/layouts/term/term.atom.xml
+++ b/layouts/term/term.atom.xml
@@ -6,8 +6,8 @@
<link href="{{ .Permalink }}atom.xml" rel="self" />
<link href="{{ .Permalink }}" rel="alternate" />
<author>
- <name>{{ .Site.Author.name }}</name>
- <email>{{ .Site.Author.email }}</email>
+ <name>{{ .Site.Params.author.name }}</name>
+ <email>{{ .Site.Params.author.email }}</email>
</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 097b859..d933d49 100644
--- a/layouts/term/term.gemini_atom.xml
+++ b/layouts/term/term.gemini_atom.xml
@@ -6,8 +6,8 @@
<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" />
<author>
- <name>{{ .Site.Author.name }}</name>
- <email>{{ .Site.Author.email }}</email>
+ <name>{{ .Site.Params.author.name }}</name>
+ <email>{{ .Site.Params.author.email }}</email>
</author>
<generator>Hugo -- gohugo.io</generator>
<rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</rights>