made display 5 blog posts for front

This commit is contained in:
Jeremy Kidwell 2017-07-11 12:08:55 +01:00
parent 60e9e6793b
commit ad061bf5da

View file

@ -34,7 +34,7 @@
<p></p> <p></p>
</div> </div>
</div> </div>
{{ range first 2 ((where .Data.Pages.ByDate "Section" "blog").Reverse) }} {{ range first 5 ((where .Data.Pages.ByDate "Section" "blog").Reverse) }}
<div class="units-row-end"> <div class="units-row-end">
<div class="unit-33 dateblock"> <div class="unit-33 dateblock">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3> <h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>