{% raw %}
{% extends "base.html" %}
{% load static core_tags %}
{% load wagtailcore_tags wagtailimages_tags %}
{% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %}
{% block content %}
{{self.title}}
{{self.subtitle}}
{% if self.image %}
{% image self.image width-240 %}
{% endif %}
{% social_media_article %}
{% for block in self.body %}
{% if block.block_type == 'heading' %}
{{ block.value }}
{% elif block.block_type == 'image' %}
{% image block.value width-240 %}
{% elif block.block_type == 'numbered_list' %}
{% for item in block.value %}
- {{ item|handle_markdown }}
{% endfor %}
{% elif block.block_type == 'list' %}
{% for item in block.value %}
- {{ item|handle_markdown }}
{% endfor %}
{% else %}
{{ block }}
{% endif %}
{% endfor %}
{% if settings.core.SiteSettings.enable_clickable_tags %}
{% for tag in self.tags_list %}
{{tag}}
{% endfor%}
{% endif %}
{% if self.get_parent_section.enable_next_section and self.get_next_article %}
Next Up in {{ self.get_parent_section.title }}
{% with self.get_next_article as article %}
{% endwith %}
{% endif %}
{% if self.get_parent_section.enable_recommended_section %}
Recommended
{% for reference in self.recommended_articles.all %}
{% with reference.recommended_article.specific as article %}
{% endwith %}
{% endfor %}
{% endif %}
{% endblock %}
{% endraw %}