{% extends "base.html" %} {% load wagtailcore_tags navigation_tags wagtailimages_tags %} {% if tag %} {% block title %} {% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}: {{ tag }} {% endblock %} {% block search_description %}Viewing all blog posts sorted by the tag {{ tag }}{% endblock %} {% endif %} {% block content %} {% if not tag %} {% include "base/include/header-index.html" %} {% endif %}
{% if tag %}

Blog

Viewing all blog posts sorted by the tag {{ tag }}.

{% endif %} {% if page.get_child_tags %} {% endif %}
{% if posts %} {% for blog in posts %} {% include "includes/card/blog-listing-card.html" %} {% endfor %} {% else %}

Oh, snap. Looks like we were too busy baking to write any blog posts. Sorry.

{% endif %}
{% endblock content %}