{# — Section Heading — #}

{{ sections.testimonials.title }}

{%- if sections.testimonials.subtitle %}

{{ sections.testimonials.subtitle }}

{%- else %}
{%- endif %} {# — Masonry-style columns container — #}
{%- for t in sections.testimonials.items %}
{%- 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 }}

“{{ t.quote }}”

{# Render filled stars #} {% for _ in range(t.rating) %} {% endfor %} {# Render empty stars up to 5 #} {% for _ in range(5 - t.rating) %} {% endfor %}
{%- endfor %}