maintenance: Adjust order

This commit is contained in:
Bjørn Erik Pedersen 2018-02-11 14:42:22 +01:00
parent 105d536103
commit 8f29ba2fb9
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F

View File

@ -12,7 +12,7 @@
</div>
<div class="w-100">
{{ $byLastMod := .Site.RegularPages.ByLastmod }}
{{ $recent := $byLastMod | last 10 }}
{{ $recent := ($byLastMod | last 10).Reverse }}
{{ $leastRecent := $byLastMod | first 10 }}
<h2 id="last-updated">Last Updated</h2>
{{ partial "maintenance-pages-table" $recent }}