templates/front/Actuality/show.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% trans_default_domain 'Actuality' %}
  3. {% block body %}
  4.     {{ parent() }}
  5.     {% include 'components/pageHeader.html.twig' with {page} %}
  6.     {% include 'components/breadcrumb.html.twig' with {pages: [{label: 'articles', route: path('app_actuality_list') }, {label: page.title}]} %}
  7.     {% for paragraph in page.paragraphs %}
  8.         {% include 'components/actuality/paragraph.html.twig' with {paragraph} only %}
  9.     {% endfor %}
  10.     <div class="actuality-buttons-bar">
  11.         <!-- TODO : Add social networks -->
  12.         <a href="{{ path('app_actuality_list') }}" class="button button-alternate-2">Retour</a>
  13.     </div>
  14.     {% include 'components/intro.html.twig' with {title: 'other_articles.title'|trans, subTitle: 'other_articles.subTitle'|trans, description: 'other_articles.description'|trans, icon: 'anchor.svg'} %}
  15.     <div class="actuality-list">
  16.         {% for actuality in lastActualities %}
  17.             {% include "components/actuality/card.html.twig" with {actuality} only  %}
  18.         {% endfor %}
  19.     </div>
  20. {% endblock %}