src/AppBundle/Resources/views/Templates/corporate.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.     {% if editmode or pimcore_areablock('header').getCount() %}
  9.         {{pimcore_areablock('header', {
  10.             limit: 1,
  11.             allowed: [
  12.                 'basisbundle-header',
  13.                 'basisbundle-header-slider',
  14.                 'basisbundle-section-placeholder',
  15.                 'appbundle-header-series'
  16.             ]
  17.         })}}
  18.     {% endif %}
  19.     {% if not pimcore_areablock('header').getCount() %}
  20.         {{pimcore_area('header_placeholder',{type:'basisbundle-section-placeholder'})}}
  21.     {% endif %}
  22.     {% if editmode %}
  23.         <div class="alert alert-dark m-0">
  24.             Ende Header-Bereich
  25.             <hr>
  26.             Beginn Content-Bereich
  27.         </div>
  28.     {% endif %}
  29.     {# No Breadcrumb on the home page #}
  30.     {%  if document.getProperty('navRoot') and document.getProperty('navRoot').getId() != document.getId() %}
  31.         {% set snippets = ['snippetBreadcrumb'] %}
  32.         {% for snippetProperty in snippets %}
  33.             {% set snippet = document.getProperty(snippetProperty) %}
  34.             {% if snippet %}
  35.                 {{pimcore_inc(snippet, { pageDocument: document})}}
  36.             {% else %}
  37.                 {% set snippet = pimcore_website_config(snippetProperty) %}
  38.                 {% if snippet %}
  39.                     {{pimcore_inc(snippet, { pageDocument: document})}}
  40.                 {% endif %}
  41.             {% endif %}
  42.         {% endfor %}
  43.     {% endif %}
  44.     <!-- start-index -->
  45.     {{pimcore_areablock('content', {
  46.             allowed: [
  47.                 'basisbundle-section',
  48.                 'basisbundle-section-inter-section',
  49.                 'basisbundle-section-anchor',
  50.                 'basisbundle-section-snippet',
  51.                 'basisbundle-section-slider',
  52.                 'basisbundle-section-placeholder',
  53.                 'appbundle-section-welding-systems-finder',]
  54.     })}}
  55.     <!-- end-index -->
  56.     {% if editmode %}
  57.         <div class="alert alert-dark m-0">
  58.             Ende Content-Bereich
  59.             <hr>
  60.         </div>
  61.     {% endif %}
  62. {% endblock %}