Change RSS lastBuildDate to use section dates
parent
8604897291
commit
12e486cdbd
@ -0,0 +1,8 @@
|
|||||||
|
{{ $page := . }}
|
||||||
|
{{ $max := "" }}
|
||||||
|
{{ range $page.RegularPages }}
|
||||||
|
{{ if or (not $max) (lt $max .PublishDate) }}
|
||||||
|
{{ $max = .PublishDate }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ return $max }}
|
Loading…
Reference in New Issue