var/cache/website/dev/twig/bd/bd22a54707ebf81950273a80760d91d2704338630ab1b5ebed169b7fc85e9da5.php line 34

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. /* blocks/thematiques-page.html.twig */
  15. class __TwigTemplate_09e0390bf77813a58fc9072e5a24d6695693e95775cf75dc30f421c5938bdce4 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->parent false;
  24.         $this->blocks = [
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""blocks/thematiques-page.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""blocks/thematiques-page.html.twig"));
  34.         // line 1
  35.         yield "<div class=\"articles-container mt-40px mb-40px mlr-1em\">
  36. \t<div class=\"preview-articles dflex fwwrap jcsa\">
  37. \t\t";
  38.         // line 3
  39.         $context['_parent'] = $context;
  40.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["block"]) || array_key_exists("block"$context) ? $context["block"] : (function () { throw new RuntimeError('Variable "block" does not exist.'3$this->source); })()), "thematiques", [], "any"falsefalsefalse3));
  41.         $context['loop'] = [
  42.           'parent' => $context['_parent'],
  43.           'index0' => 0,
  44.           'index'  => 1,
  45.           'first'  => true,
  46.         ];
  47.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  48.             $length count($context['_seq']);
  49.             $context['loop']['revindex0'] = $length 1;
  50.             $context['loop']['revindex'] = $length;
  51.             $context['loop']['length'] = $length;
  52.             $context['loop']['last'] = === $length;
  53.         }
  54.         foreach ($context['_seq'] as $context["i"] => $context["thematique"]) {
  55.             // line 4
  56.             yield "            ";
  57.             yield from             $this->loadTemplate("blocks/previews/preview-thematique-logic.html.twig""blocks/thematiques-page.html.twig"4)->unwrap()->yield(CoreExtension::merge($context, ["category" => $context["thematique"]]));
  58.             // line 5
  59.             yield "        ";
  60.             ++$context['loop']['index0'];
  61.             ++$context['loop']['index'];
  62.             $context['loop']['first'] = false;
  63.             if (isset($context['loop']['length'])) {
  64.                 --$context['loop']['revindex0'];
  65.                 --$context['loop']['revindex'];
  66.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  67.             }
  68.         }
  69.         $_parent $context['_parent'];
  70.         unset($context['_seq'], $context['_iterated'], $context['i'], $context['thematique'], $context['_parent'], $context['loop']);
  71.         $context array_intersect_key($context$_parent) + $_parent;
  72.         // line 6
  73.         yield "\t</div>
  74. </div>";
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.         
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  79.         return; yield '';
  80.     }
  81.     /**
  82.      * @codeCoverageIgnore
  83.      */
  84.     public function getTemplateName()
  85.     {
  86.         return "blocks/thematiques-page.html.twig";
  87.     }
  88.     /**
  89.      * @codeCoverageIgnore
  90.      */
  91.     public function isTraitable()
  92.     {
  93.         return false;
  94.     }
  95.     /**
  96.      * @codeCoverageIgnore
  97.      */
  98.     public function getDebugInfo()
  99.     {
  100.         return array (  82 => 6,  68 => 5,  65 => 4,  48 => 3,  44 => 1,);
  101.     }
  102.     public function getSourceContext()
  103.     {
  104.         return new Source("<div class=\"articles-container mt-40px mb-40px mlr-1em\">
  105. \t<div class=\"preview-articles dflex fwwrap jcsa\">
  106. \t\t{% for i, thematique in block.thematiques %}
  107.             {% include \"blocks/previews/preview-thematique-logic.html.twig\" with {category: thematique} %}
  108.         {% endfor %}
  109. \t</div>
  110. </div>""blocks/thematiques-page.html.twig""/var/www/html/templates/blocks/thematiques-page.html.twig");
  111.     }
  112. }