mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
Fix updated date in Atom feeds
This commit is contained in:
parent
8c40cf81f5
commit
bc514e7f67
|
@ -9,7 +9,7 @@ const atom_xml = `<?xml version="1.0" encoding="utf-8"?>
|
|||
<title>{{ .Title }}</title>
|
||||
<link href="{{ .URL }}"/>
|
||||
<link rel="self" href="{{ .URL }}{{ .Path }}"/>
|
||||
<updated>{{ .Updated }}</updated>
|
||||
<updated>{{ .Updated.Format "2006-01-02T15:04:05Z07:00" }}</updated>
|
||||
<id>{{ .URL }}{{ .Path }}</id>
|
||||
{{- $url := .URL -}}
|
||||
{{- range .Entries }}
|
||||
|
|
Loading…
Reference in a new issue