Load testimonials by tag instead of by name
- Allow loading testimonials by tag instead of name. - Remove the code to load testimonials by name. - Add a `limit` and `offset` to create different lists on the same page - e.g. on the team coaching page where I have two testimonial sections.
This commit is contained in:
parent
59bb9af6d1
commit
fc3e30eddd
9 changed files with 46 additions and 78 deletions
|
@ -31,10 +31,8 @@ Here are [all my products and services][pricing]. If you still can't find what y
|
|||
{% endblock %}
|
||||
|
||||
{% block content_bottom %}
|
||||
{% include 'testimonials.html.twig' with {
|
||||
{% include 'testimonials' with {
|
||||
title: 'Kind words from clients, subscribers, and past colleagues',
|
||||
merge: true,
|
||||
names: ["Matthieu Scarset"],
|
||||
} %}
|
||||
|
||||
{% include 'daily-email-form.html.twig' with {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue