Use slice filter for readability
This commit is contained in:
parent
1a96f6ec97
commit
3ee7239647
|
@ -41,7 +41,7 @@ There is also information about events that I’ve attended and spoken at on my
|
||||||
|
|
||||||
## Last 5 Talks
|
## 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].
|
You can view more talks in the [talks archive][3].
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue