{% extends "Layout/default.html.twig" %}
{% block mainContainerStyling %}
{% if pimcore_checkbox('activateNavigation').checked %}
js-affix__container js-smoothscroll
{% endif %}
{% endblock %}
{% block content %}
{% set limits = {
'media-gallery' : 2,
'content-timeline' : 1,
'content-download' : 1,
'content-text-slider' : 3,
'media-tile-gallery' : 1,
'media-video' : 1,
'teaser-img-slider' : 2,
'teaser-experience-slider' : 2,
'teaser-grid' : 1,
'teaser-tour-row' : 2,
'teaser-offer' : 3,
'teaser-top-offer' : 2,
'landingpage-inquiry' : 1,
'media-img-text-slide-rotating' : 3,
} %}
{% embed 'Includes/editmode-settings.html.twig' %}
{% block additionalInfo %}
<div>
<label>
{{ pimcore_checkbox('activateNavigation', {
reload: true
}) }} Activate Anchor Navigation
</label>
</div>
{% endblock %}
{% endembed %}
{{ include('Content/includes/hero.html.twig', {
decorativeBadge: true
}) }}
{% if not editmode and pimcore_checkbox('activateNavigation').checked %}
{{ include('Includes/anchor-nav.html.twig') }}
{% endif %}
{{ include('Navigation/breadcrumb.html.twig') }}
{{ include('Includes/main-title-block-splitted-editable.html.twig') }}
{{ include('Includes/areablock.html.twig', {
suffix: 'top',
disallowed: ['email*', 'newsletter*', 'landingpage*', 'glaciervine*'],
params: {
globalParams: {
anchorNav: pimcore_checkbox('activateNavigation').checked
}
},
limits : limits,
}) }}
{% if editmode %}
<br><br><br><br>
{% endif %}
{{ pimcore_area('facts', {
type: 'glaciervine-facts',
params: {
'glaciervine-facts': {
anchorNav: true
}
},
}) }}
{% if editmode %}
<br><br><br><br>
{% endif %}
{{ include('Includes/areablock.html.twig', {
suffix: 'bottom',
disallowed: ['email*', 'newsletter*', 'landingpage*', 'glaciervine*'],
params: {
globalParams: {
anchorNav: pimcore_checkbox('activateNavigation').checked
}
},
limits : limits,
}) }}
{% endblock %}
{% block javascripts %}
{% if not app.request.get('onlyInlineCss') %}
{{ include('Layout/includes/encore.html.twig', {
'staticDebugMode': staticDebugMode,
'file': 'js/content'
}) }}
{% endif %}
{% endblock %}