Only show 5 testimonials

This commit is contained in:
Oliver Davies 2015-07-02 07:18:32 +01:00
parent 23efa6b4c1
commit 4cbf93a396

View file

@ -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 }}