From b46c9ba7eae23535cac173ef92917a913c92197d9de711ef3956cf1c6c99a23d Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 24 Feb 2023 00:00:00 +0000 Subject: Fix date rendering of rights tag in Atom feeds --- layouts/index.atom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/index.atom.xml') 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 @@ {{ .Site.Author.email }} Hugo -- gohugo.io - {{ .Site.Copyright }} {{ .Site.Params.beginCopyrightYear }}-{{ now.Format "2006" }} {{ .Site.Author.name }} + {{ replace .Site.Copyright "{currentYear}" (now.Format "2006") }} {{ .Site.Params.Description }}{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} {{ .Permalink }} -- cgit v1.2.3