{%- if editmode -%} {%- for i in pimcore_block('hero_heading').iterator() -%} {%- if editmode -%} {{ pimcore_select("hero_heading_text_color", { "store": select_editables_store.theme_colors, "defaultValue": "white" }) }} {%- endif -%}
{{ pimcore_input('hero_heading_text') }}
{%- endfor -%} {%- else -%} <{{ heading_semantic }} class="{{ heading_size }} heading animate" data-scroll> {%- for i in pimcore_block('hero_heading').iterator() -%} {%- if editmode -%} {{ pimcore_select("hero_heading_text_color", { "store": select_editables_store.theme_colors, "defaultValue": "white" }) }} {%- endif -%} {{ pimcore_input('hero_heading_text').data }} {%- endfor -%} {%- endif -%}
{%- if not background_image.empty -%}
{{ background_image.thumbnail(thumbnail).html({ 'disableAutoAlt': true, 'alt': '', 'pictureAttributes': { 'class': 'w-100 h-100 d-block user-select-none pointer-events-none' }, 'imgAttributes': { 'class': 'w-100 h-100 object-fit-cover', 'role': 'presentation', 'width': '100%', 'height': '100%', 'loading': 'eager' } }) | raw }}
{%- endif -%}
{%- if show_breadcrumbs -%} {%- if document.properties.breadcrumbs_navigation_root and document.properties.breadcrumbs_navigation_root.data -%} {%- set navigation = pimcore_build_nav({ active: document, root: document.properties.breadcrumbs_navigation_root.data }) -%} {#{%- do app_navigation_enrich_breadcrumbs(navigation) -%}#} {%- set renderer = pimcore_nav_renderer('breadcrumbs') -%} {%- do renderer.setMinDepth(null) -%} {%- do renderer.setPartial('snippets/breadcrumbs/render.html.twig') -%}
{{ renderer.renderPartial(navigation) | raw }}
{%- endif -%} {%- endif -%}