{% load wagtailimages_tags %} {% load static %} {% load wagtailcore_tags %} {% for block in page.content %}
{% if block.block_type == "text_2_columns" %}
{{ block.value.left_text|richtext }}
{{ block.value.right_text|richtext }}

{% endif %} {% if block.block_type == "text_1_column" %}

{{ block.value.header }}

{{ block.value.text|richtext }}

{% endif %} {% if block.block_type == "FAQ_columns" %}
{{ block.value.left_text|richtext }}
{% for faq in block.value.faqs %}

{{ faq.question }}

{{ faq.answer|richtext }}

{% endfor %}


{% endif %} {% if block.block_type == "news" %} {% for new in block.value %}
{% image new.img width-800 as image_web %}
{{ new.header }}

{{ new.header }}

{{ new.date|date:"Y-m-m" }} {{ new.perex|richtext }} číst dále
{% endfor %} {% endif %}
{% endfor %}