aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.atom.xml2
-rw-r--r--layouts/index.gemini_atom.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
index ffbedc9..f7abe7e 100644
--- a/layouts/index.atom.xml
+++ b/layouts/index.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>{{ .Permalink }}</id>
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>