var/cache/website/dev/twig/2d/2d83c39e555acc0d783d77e5dddebae9b84be80b1d0752d8b69eb98a875e998e.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* pages/fiche-thematique.html.twig */
  15. class __TwigTemplate_f5184b18a16fe6d93241b6771c552dcf6fdca2bf4cf99ee911a4be069d97121c extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'style' => [$this'block_style'],
  25.             'content' => [$this'block_content'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/fiche-thematique.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/fiche-thematique.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""pages/fiche-thematique.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 2
  49.     public function block_style($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  56.         // line 3
  57.         yield "\t";
  58.         yield from $this->yieldParentBlock("style"$context$blocks);
  59.         yield "
  60. \t";
  61.         // line 4
  62.         yield from         $this->loadTemplate("css/une-page-thematique-critical-css.html.twig""pages/fiche-thematique.html.twig"4)->unwrap()->yield($context);
  63.         // line 5
  64.         yield "\t";
  65.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"5)->unwrap()->yield(CoreExtension::merge($context, ["file" => "evenementavenir_css"]));
  66.         // line 6
  67.         yield "\t";
  68.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"6)->unwrap()->yield(CoreExtension::merge($context, ["file" => "splide_css"]));
  69.         // line 7
  70.         yield "\t";
  71.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"7)->unwrap()->yield(CoreExtension::merge($context, ["file" => "articles_css"]));
  72.         // line 8
  73.         yield "\t";
  74.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"8)->unwrap()->yield(CoreExtension::merge($context, ["file" => "previews_css"]));
  75.         // line 9
  76.         yield "\t";
  77.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"9)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
  78.         // line 10
  79.         yield "\t";
  80.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"10)->unwrap()->yield(CoreExtension::merge($context, ["file" => "sns_icons_css"]));
  81.         // line 11
  82.         yield "\t";
  83.         if ((=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'11$this->source); })()), "main_content", [], "any"falsefalsefalse11)), 0))) {
  84.             // line 12
  85.             yield "\t\t";
  86.             $context['_parent'] = $context;
  87.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["content"], "main_content", [], "any"falsefalsefalse12));
  88.             $context['loop'] = [
  89.               'parent' => $context['_parent'],
  90.               'index0' => 0,
  91.               'index'  => 1,
  92.               'first'  => true,
  93.             ];
  94.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  95.                 $length count($context['_seq']);
  96.                 $context['loop']['revindex0'] = $length 1;
  97.                 $context['loop']['revindex'] = $length;
  98.                 $context['loop']['length'] = $length;
  99.                 $context['loop']['last'] = === $length;
  100.             }
  101.             foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
  102.                 // line 13
  103.                 yield "\t\t\t";
  104.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["content"], "type", [], "any"falsefalsefalse13), "fiche_thematique_section"))) {
  105.                     // line 14
  106.                     yield "\t\t\t\t";
  107.                     if ((=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["content"], "content", [], "any"falsefalsefalse14)), 0))) {
  108.                         // line 15
  109.                         yield "\t\t\t\t\t";
  110.                         $context['_parent'] = $context;
  111.                         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["content"], "content", [], "any"falsefalsefalse15));
  112.                         $context['loop'] = [
  113.                           'parent' => $context['_parent'],
  114.                           'index0' => 0,
  115.                           'index'  => 1,
  116.                           'first'  => true,
  117.                         ];
  118.                         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  119.                             $length count($context['_seq']);
  120.                             $context['loop']['revindex0'] = $length 1;
  121.                             $context['loop']['revindex'] = $length;
  122.                             $context['loop']['length'] = $length;
  123.                             $context['loop']['last'] = === $length;
  124.                         }
  125.                         foreach ($context['_seq'] as $context["_key"] => $context["child_content"]) {
  126.                             // line 16
  127.                             yield "\t\t\t\t\t\t";
  128.                             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "type", [], "any"falsefalsefalse16), "media"))) {
  129.                                 // line 17
  130.                                 yield "\t\t\t\t\t\t\t";
  131.                                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "select", [], "any"falsefalsefalse17), "youtube_link"))) {
  132.                                     // line 18
  133.                                     yield "\t\t\t\t\t\t\t\t";
  134.                                     yield from                                     $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"18)->unwrap()->yield(CoreExtension::merge($context, ["file" => "youtube_css"]));
  135.                                     // line 19
  136.                                     yield "\t\t\t\t\t\t\t";
  137.                                 }
  138.                                 // line 20
  139.                                 yield "\t\t\t\t\t\t";
  140.                             }
  141.                             // line 21
  142.                             yield "\t\t\t\t\t\t";
  143.                             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "type", [], "any"falsefalsefalse21), "citation"))) {
  144.                                 // line 22
  145.                                 yield "\t\t\t\t\t\t\t";
  146.                                 yield from                                 $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"22)->unwrap()->yield(CoreExtension::merge($context, ["file" => "citation_css"]));
  147.                                 // line 23
  148.                                 yield "\t\t\t\t\t\t";
  149.                             }
  150.                             // line 24
  151.                             yield "\t\t\t\t\t";
  152.                             ++$context['loop']['index0'];
  153.                             ++$context['loop']['index'];
  154.                             $context['loop']['first'] = false;
  155.                             if (isset($context['loop']['length'])) {
  156.                                 --$context['loop']['revindex0'];
  157.                                 --$context['loop']['revindex'];
  158.                                 $context['loop']['last'] = === $context['loop']['revindex0'];
  159.                             }
  160.                         }
  161.                         $_parent $context['_parent'];
  162.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child_content'], $context['_parent'], $context['loop']);
  163.                         $context array_intersect_key($context$_parent) + $_parent;
  164.                         // line 25
  165.                         yield "\t\t\t\t";
  166.                     }
  167.                     // line 26
  168.                     yield "\t\t\t";
  169.                 }
  170.                 // line 27
  171.                 yield "\t\t";
  172.                 ++$context['loop']['index0'];
  173.                 ++$context['loop']['index'];
  174.                 $context['loop']['first'] = false;
  175.                 if (isset($context['loop']['length'])) {
  176.                     --$context['loop']['revindex0'];
  177.                     --$context['loop']['revindex'];
  178.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  179.                 }
  180.             }
  181.             $_parent $context['_parent'];
  182.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
  183.             $context array_intersect_key($context$_parent) + $_parent;
  184.             // line 28
  185.             yield "\t";
  186.         }
  187.         // line 29
  188.         yield "\t";
  189.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse29) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'29$this->source); })()), "header_img", [], "any"falsefalsefalse29)))) {
  190.             // line 30
  191.             yield "\t\t<link rel=\"preload\" fetchpriority=\"high\" as=\"image\" href=\"";
  192.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'30$this->source); })()), "header_img", [], "any"falsefalsefalse30), "formats", [], "any"falsefalsefalse30), "1000x.webp", [], "array"falsefalsefalse30), "html"nulltrue);
  193.             yield "\" type=\"image/webp\">
  194. \t";
  195.         }
  196.         
  197.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  198.         
  199.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  200.         return; yield '';
  201.     }
  202.     // line 33
  203.     public function block_content($context, array $blocks = [])
  204.     {
  205.         $macros $this->macros;
  206.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  207.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  208.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  209.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  210.         // line 34
  211.         yield "\t";
  212.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "color", [], "any"truetruefalse34) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'34$this->source); })()), "color", [], "any"falsefalsefalse34)))) {
  213.             // line 35
  214.             yield "\t\t";
  215.             $context["background_color"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'35$this->source); })()), "color", [], "any"falsefalsefalse35);
  216.             // line 36
  217.             yield "\t";
  218.         } else {
  219.             // line 37
  220.             yield "\t\t";
  221.             $context["background_color"] = "#354161";
  222.             // line 38
  223.             yield "\t";
  224.         }
  225.         // line 39
  226.         yield "\t";
  227.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'39$this->source); })()), "fil_ariane", [], "any"falsefalsefalse39)) {
  228.             // line 40
  229.             yield "\t\t";
  230.             yield from             $this->loadTemplate("blocks/breadcrumb-normal.html.twig""pages/fiche-thematique.html.twig"40)->unwrap()->yield($context);
  231.             // line 41
  232.             yield "\t";
  233.         }
  234.         // line 42
  235.         yield "\t<div class=\"main-container w100 plr-1em\">
  236. \t\t<div class=\"content fdc fiche-thematique\">
  237. \t\t\t<div class=\"";
  238.         // line 44
  239.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse44) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'44$this->source); })()), "header_img", [], "any"falsefalsefalse44)))) {
  240.             yield "main-title";
  241.         } else {
  242.             yield "small-main-title";
  243.         }
  244.         yield " dflex aic jcc prelative br8\">
  245. \t\t\t\t";
  246.         // line 45
  247.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse45) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'45$this->source); })()), "header_img", [], "any"falsefalsefalse45)))) {
  248.             // line 46
  249.             yield "\t\t\t\t\t";
  250.             // line 47
  251.             yield "\t\t\t\t\t<img src=\"";
  252.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'47$this->source); })()), "header_img", [], "any"falsefalsefalse47), "formats", [], "any"falsefalsefalse47), "1000x.webp", [], "array"falsefalsefalse47), "html"nulltrue);
  253.             yield "\" srcset=\"";
  254.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'47$this->source); })()), "header_img", [], "any"falsefalsefalse47), "formats", [], "any"falsefalsefalse47), "300x.webp", [], "array"falsefalsefalse47), "html"nulltrue);
  255.             yield " 300w, ";
  256.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'47$this->source); })()), "header_img", [], "any"falsefalsefalse47), "formats", [], "any"falsefalsefalse47), "600x.webp", [], "array"falsefalsefalse47), "html"nulltrue);
  257.             yield " 600w, ";
  258.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'47$this->source); })()), "header_img", [], "any"falsefalsefalse47), "formats", [], "any"falsefalsefalse47), "1000x.webp", [], "array"falsefalsefalse47), "html"nulltrue);
  259.             yield " 1000w\" sizes=\"1000px\" alt=\"";
  260.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AltImageExtension']->getCopyrightOrDescriptionOrTitle(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'47$this->source); })()), "header_img", [], "any"falsefalsefalse47)), "html"nulltrue);
  261.             yield "\" width=\"";
  262.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'47$this->source); })()), "header_img", [], "any"falsefalsefalse47), "fileVersion", [], "any"falsefalsefalse47), "properties", [], "any"falsefalsefalse47), "width", [], "any"falsefalsefalse47), "html"nulltrue);
  263.             yield "\" height=\"";
  264.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'47$this->source); })()), "header_img", [], "any"falsefalsefalse47), "fileVersion", [], "any"falsefalsefalse47), "properties", [], "any"falsefalsefalse47), "height", [], "any"falsefalsefalse47), "html"nulltrue);
  265.             yield "\">
  266. \t\t\t\t";
  267.         }
  268.         // line 49
  269.         yield "\t\t\t\t<div class=\"zi1\">
  270. \t\t\t\t\t<h1 class=\"center";
  271.         // line 50
  272.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse50) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'50$this->source); })()), "header_img", [], "any"falsefalsefalse50)))) {
  273.             yield " cwhite fiche-thematique-title";
  274.         }
  275.         yield "\">";
  276.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'50$this->source); })()), "page_title", [], "any"falsefalsefalse50), "html"nulltrue);
  277.         yield "</h1>
  278. \t\t\t\t</div>
  279. \t\t\t\t";
  280.         // line 52
  281.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse52) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'52$this->source); })()), "header_img", [], "any"falsefalsefalse52)))) {
  282.             // line 53
  283.             yield "\t\t\t\t\t<div class=\"background-color\" style=\"background: ";
  284.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["background_color"]) || array_key_exists("background_color"$context) ? $context["background_color"] : (function () { throw new RuntimeError('Variable "background_color" does not exist.'53$this->source); })()), "html"nulltrue);
  285.             yield "\"></div>
  286. \t\t\t\t";
  287.         }
  288.         // line 55
  289.         yield "\t\t\t</div>
  290. \t\t\t<div class=\"dflex jcsb lh28 fwwrap\">
  291. \t\t\t\t<div>
  292. \t\t\t\t\t";
  293.         // line 58
  294.         if ((((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse58) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'58$this->source); })()), "header_img", [], "any"falsefalsefalse58))) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"falsetruefalse58), "credits", [], "any"truetruefalse58)) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'58$this->source); })()), "header_img", [], "any"falsefalsefalse58), "credits", [], "any"falsefalsefalse58)))) {
  295.             // line 59
  296.             yield "\t\t\t\t\t\t<div class=\"cgrey fs12 lh16 credit mt-8px\">&copy; Crédit Photo
  297. \t\t\t\t\t\t\t";
  298.             // line 60
  299.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'60$this->source); })()), "header_img", [], "any"falsefalsefalse60), "credits", [], "any"falsefalsefalse60), "html"nulltrue);
  300.             yield "</div>
  301. \t\t\t\t\t";
  302.         }
  303.         // line 62
  304.         yield "\t\t\t\t\t<div class=\"date cgrey\">
  305. \t\t\t\t\t\t";
  306.         // line 63
  307.         if ((array_key_exists("authored"$context) &&  !Twig\Extension\CoreExtension::testEmpty((isset($context["authored"]) || array_key_exists("authored"$context) ? $context["authored"] : (function () { throw new RuntimeError('Variable "authored" does not exist.'63$this->source); })())))) {
  308.             // line 64
  309.             yield "\t\t\t\t\t\t\tPublié le
  310. \t\t\t\t\t\t\t";
  311.             // line 65
  312.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, (isset($context["authored"]) || array_key_exists("authored"$context) ? $context["authored"] : (function () { throw new RuntimeError('Variable "authored" does not exist.'65$this->source); })()), "short""none"), "html"nulltrue);
  313.             yield "
  314. \t\t\t\t\t\t";
  315.         }
  316.         // line 67
  317.         yield "\t\t\t\t\t</div>
  318. \t\t\t\t</div>
  319. \t\t\t\t<div class=\"taright\">
  320. \t\t\t\t\t";
  321.         // line 70
  322.         yield from         $this->loadTemplate("articles-blocks/share-buttons.html.twig""pages/fiche-thematique.html.twig"70)->unwrap()->yield(CoreExtension::merge($context, ["url" => CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'70$this->source); })()), "url", [], "any"falsefalsefalse70)]));
  323.         // line 71
  324.         yield "\t\t\t\t</div>
  325. \t\t\t</div>
  326. \t\t\t<div class=\"blocks w100 dflex fiche-thematique jcsb mt-20px\">
  327. \t\t\t\t<div class=\"main-content mb-40px pr-1em w100\">
  328. \t\t\t\t\t";
  329.         // line 75
  330.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "chapo", [], "any"truetruefalse75) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'75$this->source); })()), "chapo", [], "any"falsefalsefalse75)))) {
  331.             // line 76
  332.             yield "\t\t\t\t\t\t<div class=\"mt-20px fw500 fs20 text cgrey\">";
  333.             yield CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'76$this->source); })()), "chapo", [], "any"falsefalsefalse76);
  334.             yield "</div>
  335. \t\t\t\t\t";
  336.         }
  337.         // line 78
  338.         yield "\t\t\t\t\t";
  339.         if (((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "main_content", [], "any"truetruefalse78) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'78$this->source); })()), "main_content", [], "any"falsefalsefalse78))) && (=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'78$this->source); })()), "main_content", [], "any"falsefalsefalse78)), 0)))) {
  340.             // line 79
  341.             yield "\t\t\t\t\t\t";
  342.             $context['_parent'] = $context;
  343.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'79$this->source); })()), "main_content", [], "any"falsefalsefalse79));
  344.             $context['loop'] = [
  345.               'parent' => $context['_parent'],
  346.               'index0' => 0,
  347.               'index'  => 1,
  348.               'first'  => true,
  349.             ];
  350.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  351.                 $length count($context['_seq']);
  352.                 $context['loop']['revindex0'] = $length 1;
  353.                 $context['loop']['revindex'] = $length;
  354.                 $context['loop']['length'] = $length;
  355.                 $context['loop']['last'] = === $length;
  356.             }
  357.             foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
  358.                 // line 80
  359.                 yield "\t\t\t\t\t\t\t";
  360.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse80), "fiche_thematique_section"))) {
  361.                     // line 81
  362.                     yield "\t\t\t\t\t\t\t\t";
  363.                     yield from                     $this->loadTemplate("articles-blocks/articles-content.html.twig""pages/fiche-thematique.html.twig"81)->unwrap()->yield(CoreExtension::merge($context, ["h2_in_list" => true"main_h2_title" => CoreExtension::getAttribute($this->env$this->source$context["data"], "main_title", [], "any"falsefalsefalse81), "mobile_gray_theme" => "thematique-mobile-gray"]));
  364.                     // line 82
  365.                     yield "\t\t\t\t\t\t\t";
  366.                 }
  367.                 // line 83
  368.                 yield "\t\t\t\t\t\t";
  369.                 ++$context['loop']['index0'];
  370.                 ++$context['loop']['index'];
  371.                 $context['loop']['first'] = false;
  372.                 if (isset($context['loop']['length'])) {
  373.                     --$context['loop']['revindex0'];
  374.                     --$context['loop']['revindex'];
  375.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  376.                 }
  377.             }
  378.             $_parent $context['_parent'];
  379.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
  380.             $context array_intersect_key($context$_parent) + $_parent;
  381.             // line 84
  382.             yield "\t\t\t\t\t";
  383.         }
  384.         // line 85
  385.         yield "\t\t\t\t</div>
  386. \t\t\t\t";
  387.         // line 86
  388.         yield from         $this->loadTemplate("pages/aside-fiche-thematique.html.twig""pages/fiche-thematique.html.twig"86)->unwrap()->yield($context);
  389.         // line 87
  390.         yield "\t\t\t</div>
  391. \t\t\t";
  392.         // line 88
  393.         if (((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "main_content", [], "any"truetruefalse88) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'88$this->source); })()), "main_content", [], "any"falsefalsefalse88))) && (=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'88$this->source); })()), "main_content", [], "any"falsefalsefalse88)), 0)))) {
  394.             // line 89
  395.             yield "\t\t\t\t";
  396.             $context['_parent'] = $context;
  397.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'89$this->source); })()), "main_content", [], "any"falsefalsefalse89));
  398.             $context['loop'] = [
  399.               'parent' => $context['_parent'],
  400.               'index0' => 0,
  401.               'index'  => 1,
  402.               'first'  => true,
  403.             ];
  404.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  405.                 $length count($context['_seq']);
  406.                 $context['loop']['revindex0'] = $length 1;
  407.                 $context['loop']['revindex'] = $length;
  408.                 $context['loop']['length'] = $length;
  409.                 $context['loop']['last'] = === $length;
  410.             }
  411.             foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
  412.                 // line 90
  413.                 yield "\t\t\t\t\t";
  414.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse90), "linked_with"))) {
  415.                     // line 91
  416.                     yield "\t\t\t\t\t\t";
  417.                     yield from                     $this->loadTemplate("articles-blocks/linked-with.html.twig""pages/fiche-thematique.html.twig"91)->unwrap()->yield($context);
  418.                     // line 92
  419.                     yield "\t\t\t\t\t";
  420.                 }
  421.                 // line 93
  422.                 yield "\t\t\t\t";
  423.                 ++$context['loop']['index0'];
  424.                 ++$context['loop']['index'];
  425.                 $context['loop']['first'] = false;
  426.                 if (isset($context['loop']['length'])) {
  427.                     --$context['loop']['revindex0'];
  428.                     --$context['loop']['revindex'];
  429.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  430.                 }
  431.             }
  432.             $_parent $context['_parent'];
  433.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
  434.             $context array_intersect_key($context$_parent) + $_parent;
  435.             // line 94
  436.             yield "\t\t\t";
  437.         }
  438.         // line 95
  439.         yield "\t\t\t<section class=\"evenementsavenir fiche-thematique mt-40px mb-40px prelative\">
  440. \t\t\t\t<h2 class=\"fs30 lh36 fw400\">Découvrez nos derniers événements</h2>
  441. \t\t\t\t";
  442.         // line 97
  443.         yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Website\\ArticlesController::getIncomingEvents"));
  444.         yield "
  445. \t\t\t</section>
  446. \t\t</div>
  447. \t</div>
  448. ";
  449.         
  450.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  451.         
  452.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  453.         return; yield '';
  454.     }
  455.     // line 102
  456.     public function block_javascripts($context, array $blocks = [])
  457.     {
  458.         $macros $this->macros;
  459.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  460.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  461.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  462.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  463.         // line 103
  464.         yield "\t";
  465.         if ((=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'103$this->source); })()), "main_content", [], "any"falsefalsefalse103)), 0))) {
  466.             // line 104
  467.             yield "\t\t";
  468.             $context['_parent'] = $context;
  469.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["content"], "main_content", [], "any"falsefalsefalse104));
  470.             foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
  471.                 // line 105
  472.                 yield "\t\t\t";
  473.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["content"], "type", [], "any"falsefalsefalse105), "fiche_thematique_section"))) {
  474.                     // line 106
  475.                     yield "\t\t\t\t";
  476.                     if ((=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["content"], "content", [], "any"falsefalsefalse106)), 0))) {
  477.                         // line 107
  478.                         yield "\t\t\t\t\t";
  479.                         $context['_parent'] = $context;
  480.                         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["content"], "content", [], "any"falsefalsefalse107));
  481.                         foreach ($context['_seq'] as $context["_key"] => $context["child_content"]) {
  482.                             // line 108
  483.                             yield "\t\t\t\t\t\t";
  484.                             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "type", [], "any"falsefalsefalse108), "media"))) {
  485.                                 // line 109
  486.                                 yield "\t\t\t\t\t\t\t";
  487.                                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "select", [], "any"falsefalsefalse109), "youtube_link"))) {
  488.                                     // line 110
  489.                                     yield "\t\t\t\t\t\t\t\t";
  490.                                     yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("lite-youtube");
  491.                                     yield "
  492. \t\t\t\t\t\t\t\t";
  493.                                     // line 111
  494.                                     yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("youtube_defer");
  495.                                     yield "
  496. \t\t\t\t\t\t\t";
  497.                                 }
  498.                                 // line 113
  499.                                 yield "\t\t\t\t\t\t";
  500.                             }
  501.                             // line 114
  502.                             yield "\t\t\t\t\t\t";
  503.                             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "type", [], "any"falsefalsefalse114), "photo_report"))) {
  504.                                 // line 115
  505.                                 yield "\t\t\t\t\t\t\t";
  506.                                 yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("splide");
  507.                                 yield "
  508. \t\t\t\t\t\t";
  509.                             }
  510.                             // line 117
  511.                             yield "\t\t\t\t\t";
  512.                         }
  513.                         $_parent $context['_parent'];
  514.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child_content'], $context['_parent'], $context['loop']);
  515.                         $context array_intersect_key($context$_parent) + $_parent;
  516.                         // line 118
  517.                         yield "\t\t\t\t";
  518.                     }
  519.                     // line 119
  520.                     yield "\t\t\t";
  521.                 }
  522.                 // line 120
  523.                 yield "\t\t";
  524.             }
  525.             $_parent $context['_parent'];
  526.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
  527.             $context array_intersect_key($context$_parent) + $_parent;
  528.             // line 121
  529.             yield "\t";
  530.         }
  531.         // line 122
  532.         yield "\t";
  533.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("open_fiche_them_section");
  534.         yield "
  535. \t";
  536.         // line 123
  537.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("splide");
  538.         yield "
  539. \t";
  540.         // line 124
  541.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  542.         yield "
  543. ";
  544.         
  545.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  546.         
  547.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  548.         return; yield '';
  549.     }
  550.     /**
  551.      * @codeCoverageIgnore
  552.      */
  553.     public function getTemplateName()
  554.     {
  555.         return "pages/fiche-thematique.html.twig";
  556.     }
  557.     /**
  558.      * @codeCoverageIgnore
  559.      */
  560.     public function isTraitable()
  561.     {
  562.         return false;
  563.     }
  564.     /**
  565.      * @codeCoverageIgnore
  566.      */
  567.     public function getDebugInfo()
  568.     {
  569.         return array (  565 => 124,  561 => 123,  556 => 122,  553 => 121,  547 => 120,  544 => 119,  541 => 118,  535 => 117,  529 => 115,  526 => 114,  523 => 113,  518 => 111,  513 => 110,  510 => 109,  507 => 108,  502 => 107,  499 => 106,  496 => 105,  491 => 104,  488 => 103,  478 => 102,  462 => 97,  458 => 95,  455 => 94,  441 => 93,  438 => 92,  435 => 91,  432 => 90,  414 => 89,  412 => 88,  409 => 87,  407 => 86,  404 => 85,  401 => 84,  387 => 83,  384 => 82,  381 => 81,  378 => 80,  360 => 79,  357 => 78,  351 => 76,  349 => 75,  343 => 71,  341 => 70,  336 => 67,  331 => 65,  328 => 64,  326 => 63,  323 => 62,  318 => 60,  315 => 59,  313 => 58,  308 => 55,  302 => 53,  300 => 52,  291 => 50,  288 => 49,  270 => 47,  268 => 46,  266 => 45,  258 => 44,  254 => 42,  251 => 41,  248 => 40,  245 => 39,  242 => 38,  239 => 37,  236 => 36,  233 => 35,  230 => 34,  220 => 33,  205 => 30,  202 => 29,  199 => 28,  185 => 27,  182 => 26,  179 => 25,  165 => 24,  162 => 23,  159 => 22,  156 => 21,  153 => 20,  150 => 19,  147 => 18,  144 => 17,  141 => 16,  123 => 15,  120 => 14,  117 => 13,  99 => 12,  96 => 11,  93 => 10,  90 => 9,  87 => 8,  84 => 7,  81 => 6,  78 => 5,  76 => 4,  71 => 3,  61 => 2,  38 => 1,);
  570.     }
  571.     public function getSourceContext()
  572.     {
  573.         return new Source("{% extends \"base.html.twig\" %}
  574. {% block style %}
  575. \t{{ parent() }}
  576. \t{% include \"css/une-page-thematique-critical-css.html.twig\" %}
  577. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'evenementavenir_css'} %}
  578. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'splide_css'} %}
  579. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'articles_css'} %}
  580. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'previews_css'} %}
  581. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
  582. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'sns_icons_css'} %}
  583. \t{% if content.main_content|length > 0 %}
  584. \t\t{% for content in content.main_content %}
  585. \t\t\t{% if content.type == \"fiche_thematique_section\" %}
  586. \t\t\t\t{% if content.content|length > 0 %}
  587. \t\t\t\t\t{% for child_content in content.content %}
  588. \t\t\t\t\t\t{% if child_content.type == \"media\" %}
  589. \t\t\t\t\t\t\t{% if child_content.select == \"youtube_link\" %}
  590. \t\t\t\t\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'youtube_css'} %}
  591. \t\t\t\t\t\t\t{% endif %}
  592. \t\t\t\t\t\t{% endif %}
  593. \t\t\t\t\t\t{% if child_content.type == \"citation\" %}
  594. \t\t\t\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'citation_css'} %}
  595. \t\t\t\t\t\t{% endif %}
  596. \t\t\t\t\t{% endfor %}
  597. \t\t\t\t{% endif %}
  598. \t\t\t{% endif %}
  599. \t\t{% endfor %}
  600. \t{% endif %}
  601. \t{% if content.header_img is defined and content.header_img is not empty %}
  602. \t\t<link rel=\"preload\" fetchpriority=\"high\" as=\"image\" href=\"{{ content.header_img.formats['1000x.webp'] }}\" type=\"image/webp\">
  603. \t{% endif %}
  604. {% endblock %}
  605. {% block content %}
  606. \t{% if content.color is defined and content.color is not empty %}
  607. \t\t{% set background_color = content.color %}
  608. \t{% else %}
  609. \t\t{% set background_color = \"#354161\" %}
  610. \t{% endif %}
  611. \t{% if content.fil_ariane %}
  612. \t\t{% include \"blocks/breadcrumb-normal.html.twig\" %}
  613. \t{% endif %}
  614. \t<div class=\"main-container w100 plr-1em\">
  615. \t\t<div class=\"content fdc fiche-thematique\">
  616. \t\t\t<div class=\"{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} dflex aic jcc prelative br8\">
  617. \t\t\t\t{% if content.header_img is defined and content.header_img is not empty %}
  618. \t\t\t\t\t{# pas de loading=lazy ici car c'est le LPC (largest painted content) qui apparaît dès l'arrivée sur le site #}
  619. \t\t\t\t\t<img src=\"{{ content.header_img.formats['1000x.webp'] }}\" srcset=\"{{ content.header_img.formats['300x.webp'] }} 300w, {{ content.header_img.formats['600x.webp'] }} 600w, {{ content.header_img.formats['1000x.webp'] }} 1000w\" sizes=\"1000px\" alt=\"{{ content.header_img | copyright_or_description_or_title }}\" width=\"{{ content.header_img.fileVersion.properties.width }}\" height=\"{{ content.header_img.fileVersion.properties.height }}\">
  620. \t\t\t\t{% endif %}
  621. \t\t\t\t<div class=\"zi1\">
  622. \t\t\t\t\t<h1 class=\"center{% if content.header_img is defined and content.header_img is not empty %} cwhite fiche-thematique-title{% endif %}\">{{ content.page_title }}</h1>
  623. \t\t\t\t</div>
  624. \t\t\t\t{% if content.header_img is defined and content.header_img is not empty %}
  625. \t\t\t\t\t<div class=\"background-color\" style=\"background: {{ background_color }}\"></div>
  626. \t\t\t\t{% endif %}
  627. \t\t\t</div>
  628. \t\t\t<div class=\"dflex jcsb lh28 fwwrap\">
  629. \t\t\t\t<div>
  630. \t\t\t\t\t{% if content.header_img is defined and content.header_img is not empty and content.header_img.credits is defined and content.header_img.credits is not empty  %}
  631. \t\t\t\t\t\t<div class=\"cgrey fs12 lh16 credit mt-8px\">&copy; Crédit Photo
  632. \t\t\t\t\t\t\t{{ content.header_img.credits }}</div>
  633. \t\t\t\t\t{% endif %}
  634. \t\t\t\t\t<div class=\"date cgrey\">
  635. \t\t\t\t\t\t{% if authored is defined and authored is not empty %}
  636. \t\t\t\t\t\t\tPublié le
  637. \t\t\t\t\t\t\t{{ authored|format_datetime('short', 'none') }}
  638. \t\t\t\t\t\t{% endif %}
  639. \t\t\t\t\t</div>
  640. \t\t\t\t</div>
  641. \t\t\t\t<div class=\"taright\">
  642. \t\t\t\t\t{% include \"articles-blocks/share-buttons.html.twig\" with {url: content.url} %}
  643. \t\t\t\t</div>
  644. \t\t\t</div>
  645. \t\t\t<div class=\"blocks w100 dflex fiche-thematique jcsb mt-20px\">
  646. \t\t\t\t<div class=\"main-content mb-40px pr-1em w100\">
  647. \t\t\t\t\t{% if content.chapo is defined and content.chapo is not empty %}
  648. \t\t\t\t\t\t<div class=\"mt-20px fw500 fs20 text cgrey\">{{ content.chapo|raw }}</div>
  649. \t\t\t\t\t{% endif %}
  650. \t\t\t\t\t{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
  651. \t\t\t\t\t\t{% for data in content.main_content %}
  652. \t\t\t\t\t\t\t{% if data.type == \"fiche_thematique_section\" %}
  653. \t\t\t\t\t\t\t\t{% include \"articles-blocks/articles-content.html.twig\" with {h2_in_list : true, main_h2_title: data.main_title, mobile_gray_theme: \"thematique-mobile-gray\"} %}
  654. \t\t\t\t\t\t\t{% endif %}
  655. \t\t\t\t\t\t{% endfor %}
  656. \t\t\t\t\t{% endif %}
  657. \t\t\t\t</div>
  658. \t\t\t\t{% include \"pages/aside-fiche-thematique.html.twig\" %}
  659. \t\t\t</div>
  660. \t\t\t{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
  661. \t\t\t\t{% for data in content.main_content %}
  662. \t\t\t\t\t{% if data.type == \"linked_with\" %}
  663. \t\t\t\t\t\t{% include \"articles-blocks/linked-with.html.twig\" %}
  664. \t\t\t\t\t{% endif %}
  665. \t\t\t\t{% endfor %}
  666. \t\t\t{% endif %}
  667. \t\t\t<section class=\"evenementsavenir fiche-thematique mt-40px mb-40px prelative\">
  668. \t\t\t\t<h2 class=\"fs30 lh36 fw400\">Découvrez nos derniers événements</h2>
  669. \t\t\t\t{{ render(controller('App\\\\Controller\\\\Website\\\\ArticlesController::getIncomingEvents')) }}
  670. \t\t\t</section>
  671. \t\t</div>
  672. \t</div>
  673. {% endblock %}
  674. {% block javascripts %}
  675. \t{% if content.main_content|length > 0 %}
  676. \t\t{% for content in content.main_content %}
  677. \t\t\t{% if content.type == \"fiche_thematique_section\" %}
  678. \t\t\t\t{% if content.content|length > 0 %}
  679. \t\t\t\t\t{% for child_content in content.content %}
  680. \t\t\t\t\t\t{% if child_content.type == \"media\" %}
  681. \t\t\t\t\t\t\t{% if child_content.select == \"youtube_link\" %}
  682. \t\t\t\t\t\t\t\t{{ encore_entry_script_tags('lite-youtube') }}
  683. \t\t\t\t\t\t\t\t{{ encore_entry_script_tags('youtube_defer') }}
  684. \t\t\t\t\t\t\t{% endif %}
  685. \t\t\t\t\t\t{% endif %}
  686. \t\t\t\t\t\t{% if child_content.type == \"photo_report\" %}
  687. \t\t\t\t\t\t\t{{ encore_entry_script_tags('splide') }}
  688. \t\t\t\t\t\t{% endif %}
  689. \t\t\t\t\t{% endfor %}
  690. \t\t\t\t{% endif %}
  691. \t\t\t{% endif %}
  692. \t\t{% endfor %}
  693. \t{% endif %}
  694. \t{{ encore_entry_script_tags('open_fiche_them_section') }}
  695. \t{{ encore_entry_script_tags('splide') }}
  696. \t{{ parent() }}
  697. {% endblock %}""pages/fiche-thematique.html.twig""/var/www/html/templates/pages/fiche-thematique.html.twig");
  698.     }
  699. }