{% extends "base.html" %} {% load core_tags gem_tags wagtailimages_tags wagtailembeds_tags molo_forms_tags %} {% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %} {% block content %} {% get_translation self.get_parent_section as parent_section %}
{% include "core/section_header_partial.html" with url=parent_section.specific image=parent_section.image title=parent_section.title extra_classes=parent_section.get_effective_extra_style_hints %} {% include "core/article_intro_partial.html" with article=page %}
{% for block in self.body %} {% if block.block_type == 'heading' %}

{{ block.value }}

{% elif block.block_type == 'image' %} {% image block.value width-320 %} {% elif block.value.youtube_link %} {% with block.value as media %}
{% if not is_via_freebasics %}
{% embed media.youtube_link %}
{% trans "Download Video" %} {% else %}

{{media.title}}

{% trans 'Click to watch on youtube!' %}

{% trans "Media will be played externally in a new window" %}

{% endif %}
{% endwith %} {% elif block.value.type == 'video'%}
{% with block.value as media %} {% if not is_via_freebasics %} {% trans "Download Video" %} {% else %}

{{media.title}}

{% trans "Video files will not be played, you can download them" %}

{% endif %} {% endwith %}
{% elif block.value.type == 'audio'%}
{% with block.value as media %} {% if not is_via_freebasics %} {% trans "Download Audio" %} {% else %}

{{media.title}}

{% trans "Audio files will not be played, you can download them" %}

{% endif %} {% endwith %}
{% elif block.block_type == 'numbered_list' %}
    {% for item in block.value %}
  1. {{ item|handle_markdown }}
  2. {% endfor %}
{% elif block.block_type == 'list' %} {% else %} {{ block }} {% endif %} {% endfor %} {% social_media_article %}
{% load_tags_for_article self as tags %} {% if settings.core.SiteSettings.enable_clickable_tags %}
{% endif %} {% if settings.core.SiteSettings.enable_tag_navigation %}
{% endif %} {% include "comments/comment_block.html" %} {% include "core/related-article-list.html" %} {% forms_list_for_pages page=self %} {% forms_list_linked_to_pages self %} {% endblock %}