Change RSS lastBuildDate to use section dates
This commit is contained in:
8
layouts/partials/paige/changed.html
Normal file
8
layouts/partials/paige/changed.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ $page := . }}
|
||||
{{ $max := "" }}
|
||||
{{ range $page.RegularPages }}
|
||||
{{ if or (not $max) (lt $max .PublishDate) }}
|
||||
{{ $max = .PublishDate }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ return $max }}
|
Reference in New Issue
Block a user