{% extends "base.html" %} {% load wagtailsettings_tags wagtailcore_tags core_tags wagtailimages_tags wagtailembeds_tags static gem_tags comments %} {% get_settings %} {% block content %} {% get_translation self.get_parent_section as section %}
{% breadcrumbs %}
{% if page.image %}
{% image page.image width-1080 format-jpeg class="article-teaser__thumbnail" %}
{% endif %}
{% get_comment_count for self as comment_count %} {% load_tags_for_article self as tags %}

{{ page.title}}

{{ page.subtitle}}

{% for block in self.body %} {% if block.block_type == 'heading' %}

{{ block.value }}

{% elif block.block_type == 'image' %}
{% image block.value width-480 format-jpeg class="article-teaser__thumbnail article-teaser__thumbnail--inner" %}
{% elif block.value.youtube_link %} {% with block.value as media %}
{% if not is_via_freebasics %}
{% embed media.youtube_link %}
{% 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 %}
{% 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 %}
{% 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 %}
{% if settings.core.SiteSettings.enable_clickable_tags %} {% endif %} {% if settings.core.SiteSettings.facebook_sharing or settings.core.SiteSettings.twitter_sharing %}

{% trans "Share article" %}

{% social_media_article %}
{% endif %} {% include "comments/comment_block.html" %} {% bannerpages position=6 %} {% include "core/related-article-list.html" %}
{% endblock %}