aboutsummaryrefslogtreecommitdiffstats
path: root/site/layouts/partials/blog.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/layouts/partials/blog.html')
-rw-r--r--site/layouts/partials/blog.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/layouts/partials/blog.html b/site/layouts/partials/blog.html
index aaa6f01..ce5c9bc 100644
--- a/site/layouts/partials/blog.html
+++ b/site/layouts/partials/blog.html
@@ -4,7 +4,7 @@
<h2 class="f2 b lh-title mb3">Latest stories</h1>
<div class="w-100 flex-ns mhn1-ns flex-wrap mb3">
- {{ range where .Data.Pages "Type" "post" }}
+ {{ range first 4 (where .Data.Pages "Type" "post") }}
<div class="ph1-ns w-50-ns flex">
{{ .Render "li" }}
</div>