Change RSS lastBuildDate to use section dates

This commit is contained in:
Will Faught
2023-09-23 13:35:13 -07:00
parent 8604897291
commit 12e486cdbd
2 changed files with 9 additions and 1 deletions

View File

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