summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index fdcd433..31d0a90 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -13,7 +13,7 @@
<section class="latest-posts">
<h2>Latest posts</h2>
<ul class="archive-list">
-{% for page in posts.pages %}
+{% for page in posts.pages | slice(end=3) %}
<li class="archive-entry">
<a href="{{ page.path }}">{{ page.title }}</a>
<small>({{ page.date | date(format="%Y-%m-%d") }})</small>