Fix lastBuildDate in RSS

This commit is contained in:
Will Faught
2024-06-03 23:45:39 -07:00
parent 700c5b62a2
commit 9429f44635
2 changed files with 5 additions and 15 deletions

View File

@@ -1,14 +0,0 @@
{{ $page := . }}
{{ $max := "" }}
{{ range $page.RegularPages }}
{{ if or (not $max) (lt $max .Lastmod) }}
{{ $max = .Lastmod }}
{{ end }}
{{ end }}
{{ if not $max }}
{{ $max = $page.Lastmod }}
{{ end }}
{{ return $max }}