summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-04-30 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-04-30 00:00:00 +0000
commita6d40f0ad8ec4912dc014d44ef2b454bf65bec61ed5fd8a018acf5db2124ca26 (patch)
treeebccaf8d850b334513785025e7372535878361cb5aebda3caa843e009b831523 /layouts
parent29cd52d7e7376464ec49a9d7ceacd0b4ef97511b51ee222f5a31441db7594f12 (diff)
downloadhugo-theme-journal-a6d40f0ad8ec4912dc014d44ef2b454bf65bec61ed5fd8a018acf5db2124ca26.tar.gz
hugo-theme-journal-a6d40f0ad8ec4912dc014d44ef2b454bf65bec61ed5fd8a018acf5db2124ca26.zip
Change date format in Atom feed
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.atom.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
index 8575042..1bb57f4 100644
--- a/layouts/index.atom.xml
+++ b/layouts/index.atom.xml
@@ -2,7 +2,7 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ .Permalink }}</id>
<title>{{ .Site.Title }}</title>
- <updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
+ <updated>{{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
<link href="{{ .Permalink }}atom.xml" rel="self">
<link href="{{ .Permalink }}" rel="alternate">
<author>
@@ -14,8 +14,8 @@
<subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }}
<entry>
<id>{{ .Permalink }}</id>
- <title type="html">{{ .Title }}></title>
- <updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
+ <title type="html">{{ .Title }}</title>
+ <updated>{{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
<link href="{{ .Permalink }}">
<content type="html">{{ .Content | html }}</content>
</entry>{{ end }}