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

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