Use slice filter for readability

This commit is contained in:
Oliver Davies 2017-07-10 23:26:20 +01:00
parent 1a96f6ec97
commit 3ee7239647

View file

@ -41,7 +41,7 @@ There is also information about events that Ive 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 %}