{% load wagtailcore_tags wagtail_richer_text_tags wagtail_synopsis_tags %}
{% if not hide_visual and synopsis.visual.value %} {% if synopsis.has_destination_url %} {% include_block self.visuals.value with content=synopsis.visual.value scale_factor=scale_factor %} {% else %} {% include_block self.visuals.value with content=synopsis.visual.value scale_factor=scale_factor classname="abstract-visual" %} {% endif %} {% if synopsis.credits.items %}
{% for credit_category, credit_names in synopsis.credits.items %} {{ credit_category }} {{ credit_names }} {% endfor %}
{% endif %} {% if synopsis.has_destination_url %}
{% endif %} {% endif %}
{% if self.show_rubrics %}{% if synopsis.rubric_url %}{{ synopsis.rubric }}{% else %}{{ synopsis.rubric }}{% endif %}{% endif %} {% if synopsis.has_destination_url %}{% endif %} {% if self.show_publishing_date %}
{{ synopsis.last_date_time|date:"j F Y" }}
{% endif %}

{{ synopsis.heading }}

{{ synopsis.summary|richertext|strip_paragraphs }}

{% if synopsis.has_destination_url %}
{% endif %} {% if self.show_authors and synopsis.names %} {% include_block synopsis.names %} {% endif %} {% if self.show_tags and synopsis.tags %} {% for tag in synopsis.tags.all %} {{ tag.name }} {% endfor %} {% endif %}