{{ self.body }} {% if self.buttons and self.layout == 'layout1' %}
{% for button in self.buttons %} {% include "coyote/blocks/partials/button.html" with button=button %} {% endfor %}
{% endif %}
{% for block in self.body_list %}
{{ block }}
{% endfor %}
{% if self.buttons and not self.layout == 'layout1' %}
{% for button in self.buttons %} {% include "coyote/blocks/partials/button.html" with button=button %} {% endfor %}
{% endif %}