{{ sections.testimonials.badge | default('Testimonials') }}

{{ sections.testimonials.title }}

{{ sections.testimonials.subtitle }}

{% for testimonial in sections.testimonials.items %}

"{{ testimonial.quote }}"

{# Render filled stars #} {% for _ in range(testimonial.rating) %} {% endfor %} {# Render empty stars up to 5 #} {% for _ in range(5 - testimonial.rating) %} {% endfor %}
{%- if testimonial.avatar %}
{{ testimonial.author }}
{%- else %} {# Fallback to initials #} {% set parts = testimonial.author.split(' ') %}
{{ parts[0][0] }}{{ parts[1][0] if parts|length > 1 else '' }}
{%- endif %}

{{ testimonial.author }}

{{ testimonial.role }}

{% endfor %}
{%- for t in sections.testimonials.items %} {%- endfor %}