{% for slide in page.slides %} {%- assign url_first_char = slide.url | slice: 0 -%} {%- if forloop.first == true -%}
{{slide.alt-text}} {% if slide.text and slide.text != '' %}

{{slide.text}}

{% endif %}
{% else %}
{{slide.alt-text}} {% if slide.text and slide.text != '' %}

{{slide.text}}

{%- endif -%}
{%- endif -%} {% endfor %}