From 3ee7239647953f5d6110abaf85c9944558b6fbc9 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 10 Jul 2017 23:26:20 +0100 Subject: [PATCH] Use slice filter for readability --- source/talks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/talks.md b/source/talks.md index b99e3676..59853426 100644 --- a/source/talks.md +++ b/source/talks.md @@ -41,7 +41,7 @@ There is also information about events that I’ve attended and spoken at on my ## Last 5 Talks -{% include 'talks-table' with { events: past_events|reverse[:5] } %} +{% include 'talks-table' with { events: past_events|reverse|slice(0,5) } %} You can view more talks in the [talks archive][3]. {% endblock %}