templates/Magazine/portal.html.twig line 1

Open in your IDE?
  1. {% extends "Layout/default.html.twig" %}
  2. {% do pimcore_placeholder('magazine').set('true') %}
  3. {% block mainContainerStyling %}main-content--spacing{% endblock %}
  4. {% block navigation %}
  5.     {{ include('Navigation/magazine-navbar.html.twig') }}
  6. {% endblock %}
  7. {% block content %}
  8.     {{ include('Magazine/Includes/heroPortal.html.twig') }}
  9.     {{ include('Includes/main-title-block-splitted-editable.html.twig') }}
  10.     {% if topArticles and topArticles.count %}
  11.         {{ include('Magazine/Includes/topArticle.html.twig', {
  12.             'title': 'magazine.Top Artikel'|trans,
  13.             'topArticles': topArticles
  14.         }) }}
  15.     {% endif %}
  16.     {{ include('Magazine/Includes/teaserGrid.html.twig', {
  17.         'title': 'magazine.Aktuelle Themen'|trans,
  18.         'gridArticles': gridArticles
  19.     }) }}
  20.     {{ pimcore_area('area', {
  21.         'type': 'content-link-list',
  22.         'params': {'content-link-list': {'useLightTheme': true}}
  23.     }) }}
  24. {% endblock %}
  25. {% block regionSlide %}
  26. <aside class="content-block">
  27.     {{ include('Magazine/Includes/subscribe.html.twig') }}
  28.     {% if not document.property('hideRegionSlide') %}
  29.         {{ include('Includes/regionSlide.html.twig') }}
  30.     {% endif %}
  31. </aside>
  32. {% endblock %}
  33. {% block javascripts %}
  34.     {% if not app.request.get('onlyInlineCss') %}
  35.     {{ include('Layout/includes/encore.html.twig', {
  36.         'staticDebugMode': staticDebugMode,
  37.         'file': 'js/magazine'
  38.     }) }}
  39.     {% endif %}
  40. {% endblock %}