{% extends "base.html" %} {% load i18n wagtailcore_tags wagtailimages_tags %} {% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %} {% block content %} {% if articles|length is 1 %} {% for page in articles %} {% include 'home/page_content.html' %} {% endfor %} {% else %} {{ page.trans_title }} {{ page.trans_intro|richtext }} {% if page.subscribe_action %} {% include 'home/subscription_form.html' %} {% endif %} {% for entry in articles %} {{ entry.trans_title }} {{ entry.trans_intro|richtext }} {% endfor %} {% endif %} {% if subcategories %} {% for block in subcategories %} {{ block.trans_title }} {% image block.feed_image fill-300x300 %} {% endfor %} {% endif %} {% endblock %}
{{ page.trans_intro|richtext }}