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
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
<p></p>
</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="unit-33 dateblock">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>