diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-24 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-24 00:00:00 +0000 |
commit | b46c9ba7eae23535cac173ef92917a913c92197d9de711ef3956cf1c6c99a23d (patch) | |
tree | 8eff1e8e2b61ef19dd7a758bbb32e4cbec3c40bbcc9e0fec5f56ce344fa41dcd /layouts/index.gemini_atom.xml | |
parent | dce4ce364cf270408925bd1ee1ac280d720bb8b8606a59b21970c944312197ef (diff) | |
download | hugo-theme-journal-b46c9ba7eae23535cac173ef92917a913c92197d9de711ef3956cf1c6c99a23d.tar.gz hugo-theme-journal-b46c9ba7eae23535cac173ef92917a913c92197d9de711ef3956cf1c6c99a23d.zip |
Fix date rendering of rights tag in Atom feeds
Diffstat (limited to 'layouts/index.gemini_atom.xml')
-rw-r--r-- | layouts/index.gemini_atom.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml index 7025a00..dc1b563 100644 --- a/layouts/index.gemini_atom.xml +++ b/layouts/index.gemini_atom.xml @@ -10,7 +10,7 @@ <email>{{ .Site.Author.email }}</email> </author> <generator>Hugo -- gohugo.io</generator> - <rights type="html">{{ .Site.Copyright }} {{ .Site.Params.beginCopyrightYear }}-{{ now.Format "2006" }} {{ .Site.Author.name }}</rights> + <rights type="html">{{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }}</rights> <subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} <entry> <id>{{ replace .Permalink "https://" "gemini://" | safeURL }}</id> |