aboutsummaryrefslogtreecommitdiff
path: root/layouts/term
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/term')
-rw-r--r--layouts/term/term.atom.xml4
-rw-r--r--layouts/term/term.gemini_atom.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/term/term.atom.xml b/layouts/term/term.atom.xml
index 9ceeb79..4ef94d6 100644
--- a/layouts/term/term.atom.xml
+++ b/layouts/term/term.atom.xml
@@ -34,7 +34,7 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ .Permalink }}</id>
<title>{{ .Site.Title }}</title>
- <updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
+ <updated>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
<link href="{{ .Permalink }}atom.xml" rel="self" />
<link href="{{ .Permalink }}" rel="alternate" />
{{- with $authorName }}
@@ -49,7 +49,7 @@
<entry>
<id>{{ .Permalink }}</id>
<title type="html">{{ .Title }}</title>
- <updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
+ <updated>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
<link href="{{ .Permalink }}" />
<content type="html">{{ .Content | html }}</content>
</entry>{{ end }}
diff --git a/layouts/term/term.gemini_atom.xml b/layouts/term/term.gemini_atom.xml
index e02d2fe..7afe36e 100644
--- a/layouts/term/term.gemini_atom.xml
+++ b/layouts/term/term.gemini_atom.xml
@@ -34,7 +34,7 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" }}</id>
<title>{{ .Site.Title }}</title>
- <updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
+ <updated>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
<link href="{{ .Permalink | replaceRE `^https://(.*)/index.gmi$` "gemini://$1/atom.xml" | safeURL }}" rel="self" />
<link href="{{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" | safeURL }}" rel="alternate" />
{{- with $authorName }}
@@ -49,7 +49,7 @@
<entry>
<id>{{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" }}</id>
<title>{{ .Title }}</title>
- <updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
+ <updated>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
<link href="{{ .Permalink | replaceRE `^https://(.*)index.gmi$` "gemini://$1" | safeURL }}" rel="alternate" />
</entry>{{ end }}
</feed>