templates/Content/gletscherWein.html.twig line 1

Open in your IDE?
  1. {% extends "Layout/default.html.twig" %}
  2. {% block mainContainerStyling %}
  3.     {% if pimcore_checkbox('activateNavigation').checked %}
  4.         js-affix__container js-smoothscroll
  5.     {% endif %}
  6. {% endblock %}
  7. {% block content %}
  8.     {% set limits = {
  9.         'media-gallery' : 2,
  10.         'content-timeline' : 1,
  11.         'content-download' : 1,
  12.         'content-text-slider' : 3,
  13.         'media-tile-gallery' : 1,
  14.         'media-video' : 1,
  15.         'teaser-img-slider' : 2,
  16.         'teaser-experience-slider' : 2,
  17.         'teaser-grid' : 1,
  18.         'teaser-tour-row' : 2,
  19.         'teaser-offer' : 3,
  20.         'teaser-top-offer' : 2,
  21.         'landingpage-inquiry' : 1,
  22.         'media-img-text-slide-rotating' : 3,
  23.     } %}
  24.     {% embed 'Includes/editmode-settings.html.twig' %}
  25.         {% block additionalInfo %}
  26.             <div>
  27.                 <label>
  28.                     {{ pimcore_checkbox('activateNavigation', {
  29.                         reload: true
  30.                     }) }} Activate Anchor Navigation
  31.                 </label>
  32.             </div>
  33.         {% endblock %}
  34.     {% endembed %}
  35.     {{ include('Content/includes/hero.html.twig', {
  36.         decorativeBadge: true
  37.     }) }}
  38.     {% if not editmode and pimcore_checkbox('activateNavigation').checked %}
  39.         {{ include('Includes/anchor-nav.html.twig') }}
  40.     {% endif %}
  41.     {{ include('Navigation/breadcrumb.html.twig') }}
  42.     {{ include('Includes/main-title-block-splitted-editable.html.twig') }}
  43.     {{ include('Includes/areablock.html.twig', {
  44.         suffix: 'top',
  45.         disallowed: ['email*', 'newsletter*', 'landingpage*', 'glaciervine*'],
  46.         params: {
  47.             globalParams: {
  48.                 anchorNav: pimcore_checkbox('activateNavigation').checked
  49.             }
  50.         },
  51.         limits :  limits,
  52.     }) }}
  53.     {% if editmode %}
  54.         <br><br><br><br>
  55.     {% endif %}
  56.     {{ pimcore_area('facts', {
  57.         type: 'glaciervine-facts',
  58.         params: {
  59.             'glaciervine-facts': {
  60.                 anchorNav: true
  61.             }
  62.         },
  63.     }) }}
  64.     {% if editmode %}
  65.         <br><br><br><br>
  66.     {% endif %}
  67.     {{ include('Includes/areablock.html.twig', {
  68.         suffix: 'bottom',
  69.         disallowed: ['email*', 'newsletter*', 'landingpage*', 'glaciervine*'],
  70.         params: {
  71.             globalParams: {
  72.                 anchorNav: pimcore_checkbox('activateNavigation').checked
  73.             }
  74.         },
  75.         limits :  limits,
  76.     }) }}
  77. {% endblock %}
  78.     {% block javascripts %}
  79.         {% if not app.request.get('onlyInlineCss') %}
  80.         {{ include('Layout/includes/encore.html.twig', {
  81.             'staticDebugMode': staticDebugMode,
  82.             'file': 'js/content'
  83.         }) }}
  84.         {% endif %}
  85.     {% endblock %}