{% for item in include.slider-items %} {% assign mod = forloop.index | modulo: 2 %} {% if mod == 1 %}
{% comment %} {{item.top_text.paragraph_html}} {% endcomment %}
{{item.body_text_html}} {% if item.button_text and item.button_url %} {{item.button_text}} {% endif %}
{% for image in item.slider_images %}
{{image.image_alt_text}}
{% endfor %}
{% else %}
{% comment %} {{item.top_text.paragraph_html}} {% endcomment %}
{{item.body_text_html}} {% if item.button_text and item.button_url %} {{item.button_text}} {% endif %}
{% for image in item.slider_images %}
{{image.image_alt_text}}
{% endfor %}
{% endif %} {% endfor %}