Limit to the 10 most recent recommendations

This commit is contained in:
Oliver Davies 2021-09-23 19:42:17 +01:00
parent 0fe22d543d
commit a333294d9c

View file

@ -115,7 +115,7 @@ recommendations:
---
<div class="space-y-8">
{% for recommendation in page.recommendations|reverse %}
{% for recommendation in page.recommendations|reverse|slice(0, 10) %}
<article>
<h2>{{ recommendation.name }}</h2>
<header>{{ recommendation.tagline }}</header>