{# — Section Heading — #}
TESTIMONIALS

{{ sections.testimonials.title }}

{%- if sections.testimonials.subtitle %}

{{ sections.testimonials.subtitle }}

{%- endif %}
{# — Floating Testimonial Cards — #}
{%- for t in sections.testimonials.items %}
{# Rating stars at the top #}
{# Render filled stars #} {% for _ in range(t.rating) %} {% endfor %} {# Render empty stars up to 5 #} {% for _ in range(5 - t.rating) %} {% endfor %}
{# Quote text with decorative quotes #}

{{ t.quote }}

{# Author info with modern layout #}
{%- if t.avatar %}
{{ t.author }}
{%- else %} {# Fallback to initials #} {% set parts = t.author.split(' ') %}
{{ parts[0][0] }}{{ parts[1][0] if parts|length > 1 else '' }}
{%- endif %}

{{ t.author }}

{{ t.role }}

{# Decorative elements #}
{%- endfor %}
{# Navigation controls #}
{%- for t in sections.testimonials.items %} {%- endfor %}