{% assign blocks = include.blocks %} {% for block in blocks %} {% capture thecycle %}{% cycle 'odd', 'even' %}{% endcapture %} {% assign coldim = 'col-sm-6' %} {% assign colorder = 'order-1|order-2' | split:'|' %} {% if thecycle == 'even' %} {% assign colorder = 'order-md-2|order-md-1' | split:'|' %} {% endif %}
{% if block.image %}
{{block.title}}
{% else %} {%capture coldim %}col{% endcapture %} {% endif %}

{{block.title}}

{% if block.text!=nil%}
{{block.text | markdownify }}
{% endif %} {% if block.buttons!=nil%}
{% for button in block.buttons %} {{button.label}} {% endfor %}
{% endif %}
{% endfor %}