Only show 5 testimonials
This commit is contained in:
parent
23efa6b4c1
commit
4cbf93a396
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ testimonials:
|
|||
---
|
||||
# Testimonials
|
||||
|
||||
{% for testimonial in page.testimonials %}
|
||||
{% for testimonial in page.testimonials|slice(0,5) %}
|
||||
<h2>{{ testimonial.name }}</h2>
|
||||
<p>{{ testimonial.role }} at {{ testimonial.company }}</p>
|
||||
{{ testimonial.text | raw }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue