{% load i18n wagtailcore_tags %}
{% if self.column_count == "12" %} {% for item in self.column %} {% if forloop.counter0 < 1 %} {% if item.highlight == "highlight" %}
{% elif item.highlight == "highlight-purple" %}
{% elif item.highlight == "highlight-green" %}
{% else %}
{% endif %}
{% if item.highlight == "highlight" %}
{% elif item.highlight == "highlight-purple" %}
{% elif item.highlight == "highlight-green" %}
{% else %}
{% endif %} {% if item.title %}

{{ item.title }}

{% endif %} {% if item.text %} {{ item.text }} {% endif %} {% if item.button.internal_link %} {{ item.button.link_text }} {% elif item.button.external_link %} {{ item.button.link_text }} {% endif %}
{% endif %} {% endfor %} {% else %}
{% for item in self.column %} {% if forloop.counter0 < 2 %} {% if item.highlight == "highlight" %}
{% elif item.highlight == "highlight-purple" %}
{% elif item.highlight == "highlight-green" %}
{% else %}
{% endif %} {% if item.title %}

{{ item.title }}

{% endif %} {% if item.text %} {{ item.text }} {% endif %} {% if item.button.internal_link %} {{ item.button.link_text}} {% elif item.button.external_link %} {{ item.button.link_text}} {% endif %}
{% endif %} {% endfor %}
{% endif %}