templates/Frontend/Page/page_single.html.twig line 1

Open in your IDE?
  1. {% extends 'Frontend/base.html.twig' %}
  2. {% block seoheader %}
  3.     {% include 'Frontend/Render/head/_seopage.html.twig' with {'page_selected':page_selected} %}
  4. {% endblock %}
  5. {#% block switcher %}
  6.     {% include 'Frontend/Render/_switcher.html.twig'%}
  7. {% endblock switcher %#}
  8. {% block body %}
  9.     <div class="content_pages {{page_selected.slug}}">
  10.         {% if page_selected.categorie is not empty %}
  11.             {% include 'Frontend/Render/_menu_pages.html.twig' with {'page_selected':page_selected} %}
  12.             {% if page_selected.categorie.slug == 'people' %}
  13.                 
  14.                 <div class="titre_categorie">
  15.                     <img class="img-fluid" src="/assets/img/people.png" alt="people">
  16.                 </div>
  17.                 
  18.                 {{block_profs(page_selected.slug)|raw}}
  19.             {% elseif page_selected.categorie.slug == 'join-us' %}
  20.                 <div class="titre_categorie">
  21.                     <img class="img-fluid" src="/assets/img/join_us.png" alt="join-us">
  22.                 </div>
  23.             {% endif %}
  24.             
  25.         
  26.         {% endif %}
  27.             
  28.         
  29.         {{layout_page(page_selected.slug)|raw}}
  30.         
  31.         {#% if page_selected.slug == 'press' %}
  32.         
  33.             {{layout_page(page_selected.slug)|raw}}
  34.         {% else %}
  35.             {{layout_page(page_selected.slug)|raw}}
  36.             
  37.         {% endif %#}
  38.     </div>
  39. {% endblock body %}