{% load static cache wagtailcore_tags wagtailimages_tags %}
{### Filters ###} {% comment %} We generate two different versions and then use media queries to change the filters display. {% endcomment %} {% if page.categories|length > 1 %}
{% for category in page.categories %} {% endfor %}
{% for category in page.categories %} {% endfor %}
{% endif %} {### View: Table ###} {### View: Grid Items ###}
{% for grid_item in page.grid_items %}
{{ grid_item.title }}

{{ grid_item.summary_text|safe }} {% block extra_summary_text %}{% endblock extra_summary_text %}

{% if grid_item.tags.count %}

Tags: {% for tag in grid_item.tags.all %}{{ tag }}{% endfor %}

{% endif %}
{% endfor %}
{### View: Grid Content ###} {% for grid_item in page.grid_items %}
{{ grid_item.title }}

{{ grid_item.description_text|safe }}

{% block button_block %} {% for button in grid_item.buttons %} {# Renders 'blocks/button_section.html' #} {% include_block button %} {% endfor %} {% endblock button_block %}
{% if grid_item.description_video %}
{% endif %}
{% endfor %}