{% extends "base.html" %} {% load wagtailcore_tags core_utils %} {% block content %} {% if page.show_title %}

{{ page.title }}

{% endif %}
{% for tag, contents in tagged_contents.items %}

{{ tag }}

{% for item in contents %}
{% if item|get_model == "Podcast" %} {% include "wagtailwebradio/podcast_item.html" with podcast=item %} {% elif item|get_model == "ArticlePage" %} {% include "blog/blog_item.html" with article=item %} {% endif %}
{% endfor %}
{% endfor %}
{% endblock %}