src/Front/Templates/Page/item.html.twig line 1

  1. {% extends '@front_templates/base.html.twig' %}
  2. {% from '@front_templates/_includes/_icons.html.twig' import arrowNext, orcid, email, document, folder, stats, arrowDown %}
  3. {% set page_title = entity.readTranslation(app.request.locale, 'title') %}
  4. {% block bodyClass %}page-journal{% endblock %}
  5. {% block content %}
  6.     <div class="fill-wrapper-page fill-wrapper-page--main">
  7.         <div class="container">
  8.             {% include '@front_templates/_includes/_breadcrumbs.html.twig' with {
  9.                 pageName: entity.readTranslation(app.request.locale, 'title'),
  10.             } %}
  11.             <h1 class="heading heading--page">{{ entity.readTranslation(app.request.locale, 'title') }}</h1>
  12.             {{ entity.readTranslation(app.request.locale, 'description')|raw }}
  13.             {% for block in entity.blocks %}
  14.                 {% include '@front_templates/_blocks/' ~ block.type.value ~ '.html.twig' %}
  15.             {% endfor %}
  16.         </div>
  17.     </div>
  18. {% endblock %}