templates/front/ManuelPage/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% trans_default_domain 'ManuelPage' %}
  3. {% set themePublication = getThemePublication() %}
  4. {% block stylesheets %}
  5.     {{ parent() }}
  6.     {{ encore_entry_link_tags('pages') }}
  7.     <style>
  8.         :host,
  9.         :root {
  10.             --theme-color: {{ themePublication.color }};
  11.             --theme-color-light: {{ themePublication.color }}AA;
  12.             --theme-color-10: {{ themePublication.color }}1A;
  13.             --theme-color-50: {{ themePublication.color }}80;
  14.         }
  15.     </style>
  16. {% endblock %}
  17. {% block body %}
  18.     <div id="breadcrumbToPlace" class="container">
  19.         <div class="links">
  20.             <a href="{{ path('app_homepage') }}"><i class="fa-solid fa-house"></i></a>
  21.             <span> / </span>
  22.             <a href="#">Les publications</a>
  23.             <span> / </span>
  24.             <span class="active theme-page">
  25.                 Les manuels
  26.             </span>
  27.         </div>
  28.         <div class="title">
  29.             <h1 class="titleTraitLeft">{{ page.title }}</h1>
  30.         </div>
  31.     </div>
  32.     <div id="content" class="container theme-page">
  33.         {% include "commons/sections.html.twig" with {'sections':page.sections, 'themePage': true} %}
  34.         {% include "commons/sidebar.html.twig" with {'page':page, 'themePage': true} %}
  35.     </div>
  36.     {% if page.quote %}
  37.         <div class="citation container">
  38.             <img src="{{ asset('/images/YEUX_CHOUETTE.png') }}" alt="yeux de chouette">
  39.             <p>{{ page.quote }}</p>
  40.         </div>
  41.     {% endif %}
  42. {% endblock %}
  43. {% block javascripts %}
  44.     {{ parent() }}
  45.     {{ encore_entry_script_tags('pages') }}
  46. {% endblock %}