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