diff options
author | Nicholas Johnson <mail@nicholasjohnson.ch> | 2024-08-16 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <mail@nicholasjohnson.ch> | 2024-08-16 00:00:00 +0000 |
commit | 1add0ac5ec185a7ffcdc2fd2b453211bbd3c122d645c0fbdf13b3464b8e05d37 (patch) | |
tree | 5cea50b388f839ac255edfa969314629c601da45651259599bed5a28f7068eaa /layouts | |
parent | d54f296169ab29767836a1fcdd46c235c199b9105d00ff8635613393e46706da (diff) | |
download | hugo-theme-journal-1add0ac5ec185a7ffcdc2fd2b453211bbd3c122d645c0fbdf13b3464b8e05d37.tar.gz hugo-theme-journal-1add0ac5ec185a7ffcdc2fd2b453211bbd3c122d645c0fbdf13b3464b8e05d37.zip |
Add support for new taxonomy API
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.atom.xml | 4 | ||||
-rw-r--r-- | layouts/index.gemini_atom.xml | 4 | ||||
-rw-r--r-- | layouts/taxonomy/taxonomy.atom.xml | 4 | ||||
-rw-r--r-- | layouts/taxonomy/taxonomy.gemini_atom.xml | 4 | ||||
-rw-r--r-- | layouts/term/term.atom.xml | 4 | ||||
-rw-r--r-- | layouts/term/term.gemini_atom.xml | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml index 5c8b764..3fbf10b 100644 --- a/layouts/index.atom.xml +++ b/layouts/index.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/index.gemini_atom.xml b/layouts/index.gemini_atom.xml index 8ceeba4..b69251a 100644 --- a/layouts/index.gemini_atom.xml +++ b/layouts/index.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> diff --git a/layouts/taxonomy/taxonomy.atom.xml b/layouts/taxonomy/taxonomy.atom.xml index e499961..94fbeff 100644 --- a/layouts/taxonomy/taxonomy.atom.xml +++ b/layouts/taxonomy/taxonomy.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/taxonomy/taxonomy.gemini_atom.xml b/layouts/taxonomy/taxonomy.gemini_atom.xml index 097b859..d933d49 100644 --- a/layouts/taxonomy/taxonomy.gemini_atom.xml +++ b/layouts/taxonomy/taxonomy.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> 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> |