bundles/FoxHabbit/BasisBundle/Resources/views/Templates/template.html.twig line 1

Open in your IDE?
  1. {% extends '@FoxHabbitBasis/Layout/layout.html.twig' %}
  2. {% block content %}
  3.     {% if editmode %}
  4.         <div class="alert alert-dark m-0">
  5.             Beginn Header-Bereich
  6.         </div>
  7.     {% endif %}
  8.     {{pimcore_areablock('header', {
  9.             limit: 1,
  10.             allowed: [
  11.                 'basisbundle-header',
  12.                 'basisbundle-header-search',
  13.                 'basisbundle-header-slider',
  14.                 'basisbundle-section-snippet',
  15.                 'basisbundle-section-placeholder']
  16.     })}}
  17.     {% if editmode %}
  18.         <div class="alert alert-dark m-0">
  19.             Ende Header-Bereich
  20.             <hr>
  21.             Beginn Content-Bereich
  22.         </div>
  23.     {% endif %}
  24.     {# No Breadcrumb on the home page or when no navRoot is set #}
  25.     {% if document and document.getProperty('navRoot') and document.getId() != document.getProperty('navRoot').getId() %}
  26.         {% set snippets = ['snippetBreadcrumb'] %}
  27.         {% for snippetProperty in snippets %}
  28.             {% set snippet = document.getProperty(snippetProperty) %}
  29.             {% if snippet %}
  30.                 {{pimcore_inc(snippet, { pageDocument: document})}}
  31.             {% else %}
  32.                 {% set snippet = pimcore_website_config(snippetProperty) %}
  33.                 {% if snippet %}
  34.                     {{pimcore_inc(snippet, { pageDocument: document})}}
  35.                 {% endif %}
  36.             {% endif %}
  37.         {% endfor %}
  38.     {% endif %}
  39.     <!-- start-index -->
  40.     {{pimcore_areablock('content', {
  41.             allowed: [
  42.                 'basisbundle-section',
  43.                 'basisbundle-section-accordion',
  44.                 'basisbundle-section-cssgrid',
  45.                 'basisbundle-section-cssgrid-predefined',
  46.                 'basisbundle-section-scheduled',
  47.                 'basisbundle-section-image',
  48.                 'basisbundle-section-video',
  49.                 'basisbundle-section-googlemap',
  50.                 'basisbundle-section-inter-section',
  51.                 'basisbundle-section-slickslider',
  52.                 'basisbundle-section-placeholder',
  53.                 'basisbundle-section-snippet',
  54.                 'appbundle-section-welding-systems-finder',]
  55.     })}}
  56.     <!-- end-index -->
  57.     {% if editmode %}
  58.         <div class="alert alert-dark m-0">
  59.             Ende Content-Bereich
  60.             <hr>
  61.         </div>
  62.     {% endif %}
  63. {% endblock %}