Skip to content

Commit

Permalink
fix(json feed): fix Lastmod typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HEIGE-PCloud authored and wu0407 committed Oct 18, 2024
1 parent ae27610 commit 8e2f15b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/index.feed
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"title" : {{ .Title | jsonify }},
"date_published" : "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
{{ if .Lastmod -}}
"date_modified" : "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
"date_modified" : "{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}",
{{ else -}}
"date_modified" : "{{ .LastMod.Format "2006-01-02T15:04:05Z07:00" }}",
"date_modified" : "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
{{ end -}}
"id" : "{{ .Permalink }}",
"url" : "{{ .Permalink }}",
Expand Down

0 comments on commit 8e2f15b

Please sign in to comment.