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
|
|
@ -45,6 +45,4 @@ Seats are available at <span class="font-bold">{{ page.is_early_bird ? 'an early
|
|||
|
||||
<hr />
|
||||
|
||||
{% include 'testimonials.html.twig' with {
|
||||
names: page.testimonials,
|
||||
} %}
|
||||
{% include 'testimonials' with { tag: 'testing' } %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue