Test

{% for i in (1..4) %} {% capture slide %}hero_slide_{{ i }}_enable{% endcapture %} {% capture slide_img %}hero_slide_{{ i }}.jpg{% endcapture %} {% if forloop.first or settings[slide] %}
{% endif %} {% endfor %}