{% assign slide_collection = page.slides %}
{% for slide in slide_collection %} {% 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 -%}