mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-11-23 18:51:10 +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