Limit to the 10 most recent recommendations
This commit is contained in:
parent
0fe22d543d
commit
a333294d9c
|
@ -115,7 +115,7 @@ recommendations:
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="space-y-8">
|
<div class="space-y-8">
|
||||||
{% for recommendation in page.recommendations|reverse %}
|
{% for recommendation in page.recommendations|reverse|slice(0, 10) %}
|
||||||
<article>
|
<article>
|
||||||
<h2>{{ recommendation.name }}</h2>
|
<h2>{{ recommendation.name }}</h2>
|
||||||
<header>{{ recommendation.tagline }}</header>
|
<header>{{ recommendation.tagline }}</header>
|
||||||
|
|
Loading…
Reference in a new issue