maintenance: Show last 30

This commit is contained in:
Bjørn Erik Pedersen
2018-02-12 22:18:05 +01:00
parent 7afcfdced8
commit fad6a25dda
+1 -1
View File
@@ -13,7 +13,7 @@
</div>
<div class="w-100">
{{ $byLastMod := .Site.RegularPages.ByLastmod }}
{{ $recent := ($byLastMod | last 10).Reverse }}
{{ $recent := ($byLastMod | last 30).Reverse }}
{{ $leastRecent := $byLastMod | first 10 }}
<h2 id="last-updated">Last Updated</h2>
{{ partial "maintenance-pages-table" $recent }}