{{ define "main" }}
{{ $byLastMod := .Site.RegularPages.ByLastmod }} {{ $recent := ($byLastMod | last 30).Reverse }} {{ $leastRecent := $byLastMod | first 10 }}

Last Updated

{{ partial "maintenance-pages-table.html" $recent }}

Least Recently Updated

{{ partial "maintenance-pages-table.html" $leastRecent }} {{/* Don't think this is possible with where directly. Should investigate. */}} {{ .Scratch.Set "todos" slice }} {{ range .Site.RegularPages }} {{ if .HasShortcode "todo" }} {{ $.Scratch.Add "todos" . }} {{ end }} {{ end }}

Pages marked with TODO

{{ partial "maintenance-pages-table.html" (.Scratch.Get "todos") }}

Dependencies

{{ range $index, $element := hugo.Deps }} {{ end }}
# Owner Path Version Time Vendor
{{ add $index 1 }} {{ with $element.Owner }}{{.Path }}{{ end }} {{ $element.Path }} {{ with $element.Replace}} => {{ .Path }} {{ end }} {{ $element.Version }} {{ with $element.Time }}{{ . }}{{ end }} {{ $element.Vendor }}
{{ end }}