{% ckan_extends %} {% set exists = [] %} {% for extra in organization.extras if extra.key == 'organization_type' %} {% do exists.append(extra.value) %} {% do exists.append(extra.value|replace(' Government', '')) %} {% endfor %} {% block image %} {% if exists and exists[0] %} {% set organization_type_title = exists[0] %} {% set organization_type = exists[1] %} {{ organization_type }} {% endif %}
{% endblock %}