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
|
|
@ -10,14 +10,7 @@ title: Register for daily software development emails
|
|||
|
||||
{% block content_bottom %}
|
||||
{% include 'testimonials.html.twig' with {
|
||||
names: [
|
||||
'Alexander Carr',
|
||||
'Adam Nuttall',
|
||||
'Mike Karthauser',
|
||||
'Marcos Duran',
|
||||
'Stephen Mulvihill',
|
||||
'Patty O\'Callaghan',
|
||||
],
|
||||
tag: 'daily',
|
||||
title: 'What subscribers have said',
|
||||
} %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue