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:
Oliver Davies 2024-01-15 17:39:59 +00:00
parent 59bb9af6d1
commit fc3e30eddd
9 changed files with 46 additions and 78 deletions

View file

@ -2,10 +2,6 @@
title: Book a 1-on-1 consulting call
link: https://savvycal.com/opdavies/consulting-call
price: 350
testimonials:
- Tawny Bartlett
- Tom Evans
- Michael Itkoff
faqs:
-
- What happens after I pay?
@ -62,9 +58,7 @@ faqs:
{# Social proof #}
{% include 'testimonials' with {
names: page.testimonials,
} %}
{% include 'testimonials' with { tag: 'call' } %}
{# Overcome objections #}