{% extends "base.html.twig" %} {% block content %}
{# {{ dump() }}#} {% for block in content.blocks %} {# {{ dump(block) }}#} {% if (block.id is defined ) %} {% set blockid = 'id="'~block.id~'"' %} {% else %} {% set blockid = "" %} {% endif %} {% if block.type == 'hero' %}

KRAJ!NA

{{ block.text|raw }}
{% endif %} {% if block.type == 'separator' %}
 
{% endif %} {% if block.type == 'quote' %}
{{ block.text|raw }}
{% endif %} {% if block.type == 'text' %}
{{ block.text|raw }}
{% endif %} {% if block.type == 'image' %}
{{ block.image.title }} {% if block.description is not empty %}

{{ block.description|raw }}

{% endif %}
{% endif %} {% if block.type == 'opening_hours' %}
{{ block.text_intro|raw }}
{{ block.text_where|raw }}
{{ block.text_when|raw }}
{{ block.text_end|raw }}
{% endif %} {% if block.type == "authors" %}
{% for sub_block in block.sub_blocks %} {% if sub_block.type == 'text' %}
{{ sub_block.text|raw }}
{% endif %} {% if sub_block.type == 'author' %} {% endif %} {% endfor %}
{% endif %} {% if block.type == 'map' %}
{% for sub_block in block.sub_blocks_2 %} {% if sub_block.type == 'point' %} {% set page = sulu_content_load(sub_block.link) %} {% endif %} {% endfor %}
{{ block.description|raw }}
{% endif %} {% if block.type == 'survey_results' %}

Načítám aktuální výsledky

{% endif %} {% if block.type == 'i_want_to_help' %}

Chci pomoct krajině

{% endif %} {% if block.type == 'code' %} {{ block.code|raw }} {% endif %} {% endfor %}
zavřít
{% endblock %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('homepage') }} {% endblock %}