From 399b428e1be926e3e71a860162ec2c708e98072f Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 29 Sep 2024 11:04:18 +0200 Subject: Migrate demo site to standard config --- layouts/_default/list.atom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml index d7a9b87..6ef45ab 100644 --- a/layouts/_default/list.atom.xml +++ b/layouts/_default/list.atom.xml @@ -33,8 +33,8 @@ {{ . }} {{ with $siteAuthor.email }}{{ . | html }}{{ end }} - {{ end }}{{ with site.Params.Copyright }}{{ $copyright := replace . "{year}" now.Year }}{{ $copyright = replace $copyright "©" "©" }} - {{ $copyright | plainify }}{{ end }} + {{ end }}{{ with site.Params.Copyright }} + {{ . | plainify }}{{ end }} Hugo{{ if ne $siteLastMod "" }} {{ $siteLastMod.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}{{ end }}{{ $uuid := sha1 (site.BaseURL | absURL) }} urn:uuid:{{ substr $uuid 0 8 }}-{{ substr $uuid 8 4 }}-5{{ substr $uuid 13 3 }}-{{ substr $uuid 16 1 }}9{{ substr $uuid 17 2 }}-{{ substr $uuid 21 12 }}{{- range $pages }} -- cgit v1.2.3