summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2024-09-29 11:04:18 +0200
committerSerghei Iakovlev <git@serghei.pl>2024-09-29 12:04:25 +0200
commit399b428e1be926e3e71a860162ec2c708e98072f (patch)
treef7481d2841659b5d8115722252dc3250418b2e12 /layouts
parentfedb40603459d173135c3cc165a3e86f0e1abb66 (diff)
downloadgohugo-theme-ed-399b428e1be926e3e71a860162ec2c708e98072f.tar.gz
Migrate demo site to standard config
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.atom.xml4
1 files changed, 2 insertions, 2 deletions
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 @@
<author>
<name>{{ . }}</name>
{{ with $siteAuthor.email }}<email>{{ . | html }}</email>{{ end }}
- </author>{{ end }}{{ with site.Params.Copyright }}{{ $copyright := replace . "{year}" now.Year }}{{ $copyright = replace $copyright "&copy;" "©" }}
- <rights>{{ $copyright | plainify }}</rights>{{ end }}
+ </author>{{ end }}{{ with site.Params.Copyright }}
+ <rights>{{ . | plainify }}</rights>{{ end }}
<generator uri="https://gohugo.io" version="{{ hugo.Version }}">Hugo</generator>{{ if ne $siteLastMod "" }}
<updated>{{ $siteLastMod.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}</updated>{{ end }}{{ $uuid := sha1 (site.BaseURL | absURL) }}
<id>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 }}</id>{{- range $pages }}