var/cache/dev/twig/1e/1e516b4dfa77a4dadd013c15511a4c7d0ce9499891f28cf45f9698705f22b42c.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* bloc/_bloc_9.html.twig */
  14. class __TwigTemplate_4287b53ac9bd371f4243c46f85284b3e1620e82cbb87935ef9c7b23989acc259 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""bloc/_bloc_9.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""bloc/_bloc_9.html.twig"));
  33.         // line 1
  34.         echo "<!-- TYPE_CONTENUS -->
  35. ";
  36.         // line 2
  37.         $context["lienBlocLignes"] = twig_get_attribute($this->env$this->source, (isset($context["bloc"]) || array_key_exists("bloc"$context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.'2$this->source); })()), "lienBlocLignesVisibles", [], "any"falsefalsefalse2);
  38.         // line 3
  39.         echo "
  40. ";
  41.         // line 4
  42.         if ((twig_length_filter($this->env, (isset($context["lienBlocLignes"]) || array_key_exists("lienBlocLignes"$context) ? $context["lienBlocLignes"] : (function () { throw new RuntimeError('Variable "lienBlocLignes" does not exist.'4$this->source); })())) >= 2)) {
  43.             // line 5
  44.             echo "    ";
  45.             $context["lienBlocLignesGauche"] = twig_slice($this->env, (isset($context["lienBlocLignes"]) || array_key_exists("lienBlocLignes"$context) ? $context["lienBlocLignes"] : (function () { throw new RuntimeError('Variable "lienBlocLignes" does not exist.'5$this->source); })()), 01);
  46.             // line 6
  47.             echo "    ";
  48.             $context["lienBlocLignesDroite"] = twig_slice($this->env, (isset($context["lienBlocLignes"]) || array_key_exists("lienBlocLignes"$context) ? $context["lienBlocLignes"] : (function () { throw new RuntimeError('Variable "lienBlocLignes" does not exist.'6$this->source); })()), 1);
  49.             // line 7
  50.             echo "
  51.     <div class=\"container\">
  52.         <div class=\"row small-gutters categories_grid\">
  53.             <div class=\"col-sm-12 col-md-6\">
  54.                 ";
  55.             // line 11
  56.             $context["ligne"] = twig_get_attribute($this->env$this->sourcetwig_first($this->env, (isset($context["lienBlocLignesGauche"]) || array_key_exists("lienBlocLignesGauche"$context) ? $context["lienBlocLignesGauche"] : (function () { throw new RuntimeError('Variable "lienBlocLignesGauche" does not exist.'11$this->source); })())), "ligne", [], "any"falsefalsefalse11);
  57.             // line 12
  58.             echo "
  59.                 <a href=\"";
  60.             // line 13
  61.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'13$this->source); })()), "boutonLien", [], "any"falsefalsefalse13), "html"nulltrue);
  62.             echo "\" title=\"";
  63.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'13$this->source); })()), "boutonTitre", [], "any"falsefalsefalse13), "html"nulltrue);
  64.             echo "\" ";
  65.             if ((twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'13$this->source); })()), "boutonTarget", [], "any"falsefalsefalse13) === true)) {
  66.                 echo "target=\"_blank\"";
  67.             }
  68.             echo ">
  69.                     ";
  70.             // line 14
  71.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'14$this->source); })()), "image", [], "any"falsefalsefalse14))) {
  72.                 // line 15
  73.                 echo "                        <img src=\"";
  74.                 echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\AppRuntime')->sonataMedia(twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'15$this->source); })()), "image", [], "any"falsefalsefalse15), "700_604_thumbnail"), "html"nulltrue);
  75.                 echo "\" alt=\"";
  76.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'15$this->source); })()), "getAlt", [], "any"falsefalsefalse15), "html"nulltrue);
  77.                 echo "\" class=\"img-fluid\" />
  78.                     ";
  79.             } else {
  80.                 // line 17
  81.                 echo "                        <img src=\"";
  82.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/img/img_cat_home_1.jpg"), "html"nulltrue);
  83.                 echo "\" alt=\"";
  84.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'17$this->source); })()), "getAlt", [], "any"falsefalsefalse17), "html"nulltrue);
  85.                 echo "\" class=\"img-fluid\" />
  86.                     ";
  87.             }
  88.             // line 19
  89.             echo "                    <div class=\"wrapper\">
  90.                         <h2>";
  91.             // line 20
  92.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'20$this->source); })()), "titre", [], "any"falsefalsefalse20), "html"nulltrue);
  93.             echo "</h2>
  94.                         ";
  95.             // line 21
  96.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'21$this->source); })()), "texte", [], "any"falsefalsefalse21))) {
  97.                 // line 22
  98.                 echo "                            <p>";
  99.                 echo strip_tags(twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'22$this->source); })()), "texte", [], "any"falsefalsefalse22));
  100.                 echo "</p>
  101.                         ";
  102.             } else {
  103.                 // line 24
  104.                 echo "                            <p>&nbsp;</p>
  105.                         ";
  106.             }
  107.             // line 26
  108.             echo "                    </div>
  109.                 </a>
  110.             </div>
  111.             <div class=\"col-sm-12 col-md-6\">
  112.                 ";
  113.             // line 31
  114.             if ((twig_length_filter($this->env, (isset($context["lienBlocLignesDroite"]) || array_key_exists("lienBlocLignesDroite"$context) ? $context["lienBlocLignesDroite"] : (function () { throw new RuntimeError('Variable "lienBlocLignesDroite" does not exist.'31$this->source); })())) == 1)) {
  115.                 // line 32
  116.                 echo "                    ";
  117.                 $context["ligne"] = twig_get_attribute($this->env$this->sourcetwig_first($this->env, (isset($context["lienBlocLignesDroite"]) || array_key_exists("lienBlocLignesDroite"$context) ? $context["lienBlocLignesDroite"] : (function () { throw new RuntimeError('Variable "lienBlocLignesDroite" does not exist.'32$this->source); })())), "ligne", [], "any"falsefalsefalse32);
  118.                 // line 33
  119.                 echo "
  120.                     <a href=\"";
  121.                 // line 34
  122.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'34$this->source); })()), "boutonLien", [], "any"falsefalsefalse34), "html"nulltrue);
  123.                 echo "\" title=\"";
  124.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'34$this->source); })()), "boutonTitre", [], "any"falsefalsefalse34), "html"nulltrue);
  125.                 echo "\" ";
  126.                 if ((twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'34$this->source); })()), "boutonTarget", [], "any"falsefalsefalse34) === true)) {
  127.                     echo "target=\"_blank\"";
  128.                 }
  129.                 echo ">
  130.                         ";
  131.                 // line 35
  132.                 if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'35$this->source); })()), "image", [], "any"falsefalsefalse35))) {
  133.                     // line 36
  134.                     echo "                            <img src=\"";
  135.                     echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\AppRuntime')->sonataMedia(twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'36$this->source); })()), "image", [], "any"falsefalsefalse36), "700_604_thumbnail"), "html"nulltrue);
  136.                     echo "\" alt=\"";
  137.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'36$this->source); })()), "getAlt", [], "any"falsefalsefalse36), "html"nulltrue);
  138.                     echo "\" class=\"img-fluid\" />
  139.                         ";
  140.                 } else {
  141.                     // line 38
  142.                     echo "                            <img src=\"";
  143.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/img/img_cat_home_1.jpg"), "html"nulltrue);
  144.                     echo "\" alt=\"";
  145.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'38$this->source); })()), "getAlt", [], "any"falsefalsefalse38), "html"nulltrue);
  146.                     echo "\" class=\"img-fluid\" />
  147.                         ";
  148.                 }
  149.                 // line 40
  150.                 echo "                        <div class=\"wrapper\">
  151.                             <h2>";
  152.                 // line 41
  153.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'41$this->source); })()), "titre", [], "any"falsefalsefalse41), "html"nulltrue);
  154.                 echo "</h2>
  155.                             ";
  156.                 // line 42
  157.                 if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'42$this->source); })()), "texte", [], "any"falsefalsefalse42))) {
  158.                     // line 43
  159.                     echo "                                <p>";
  160.                     echo strip_tags(twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'43$this->source); })()), "texte", [], "any"falsefalsefalse43));
  161.                     echo "</p>
  162.                             ";
  163.                 } else {
  164.                     // line 45
  165.                     echo "                                <p>&nbsp;</p>
  166.                             ";
  167.                 }
  168.                 // line 47
  169.                 echo "                        </div>
  170.                     </a>
  171.                 ";
  172.             }
  173.             // line 50
  174.             echo "
  175.                 ";
  176.             // line 51
  177.             if ((twig_length_filter($this->env, (isset($context["lienBlocLignesDroite"]) || array_key_exists("lienBlocLignesDroite"$context) ? $context["lienBlocLignesDroite"] : (function () { throw new RuntimeError('Variable "lienBlocLignesDroite" does not exist.'51$this->source); })())) > 1)) {
  178.                 // line 52
  179.                 echo "                    <div class=\"row small-gutters mt-md-0 mt-sm-2 ";
  180.                 if ((twig_length_filter($this->env, (isset($context["lienBlocLignesDroite"]) || array_key_exists("lienBlocLignesDroite"$context) ? $context["lienBlocLignesDroite"] : (function () { throw new RuntimeError('Variable "lienBlocLignesDroite" does not exist.'52$this->source); })())) == 4)) {
  181.                     echo "five-items";
  182.                 }
  183.                 echo "\">
  184.                         ";
  185.                 // line 53
  186.                 $context['_parent'] = $context;
  187.                 $context['_seq'] = twig_ensure_traversable((isset($context["lienBlocLignesDroite"]) || array_key_exists("lienBlocLignesDroite"$context) ? $context["lienBlocLignesDroite"] : (function () { throw new RuntimeError('Variable "lienBlocLignesDroite" does not exist.'53$this->source); })()));
  188.                 $context['loop'] = [
  189.                   'parent' => $context['_parent'],
  190.                   'index0' => 0,
  191.                   'index'  => 1,
  192.                   'first'  => true,
  193.                 ];
  194.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  195.                     $length count($context['_seq']);
  196.                     $context['loop']['revindex0'] = $length 1;
  197.                     $context['loop']['revindex'] = $length;
  198.                     $context['loop']['length'] = $length;
  199.                     $context['loop']['last'] = === $length;
  200.                 }
  201.                 foreach ($context['_seq'] as $context["_key"] => $context["lienBlocLigne"]) {
  202.                     // line 54
  203.                     echo "                            ";
  204.                     $context["ligne"] = twig_get_attribute($this->env$this->source$context["lienBlocLigne"], "ligne", [], "any"falsefalsefalse54);
  205.                     // line 55
  206.                     echo "
  207.                             ";
  208.                     // line 56
  209.                     $context["thumbnail"] = "img_cat_home_3.jpg";
  210.                     // line 57
  211.                     echo "                            ";
  212.                     $context["dimensions"] = "400_343_thumbnail";
  213.                     // line 58
  214.                     echo "                            ";
  215.                     $context["class"] = "col-sm-6";
  216.                     // line 59
  217.                     echo "                            ";
  218.                     if (((twig_length_filter($this->env, (isset($context["lienBlocLignesDroite"]) || array_key_exists("lienBlocLignesDroite"$context) ? $context["lienBlocLignesDroite"] : (function () { throw new RuntimeError('Variable "lienBlocLignesDroite" does not exist.'59$this->source); })())) == 2) || ((twig_length_filter($this->env, (isset($context["lienBlocLignesDroite"]) || array_key_exists("lienBlocLignesDroite"$context) ? $context["lienBlocLignesDroite"] : (function () { throw new RuntimeError('Variable "lienBlocLignesDroite" does not exist.'59$this->source); })())) == 3) && twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse59)))) {
  219.                         // line 60
  220.                         echo "                                ";
  221.                         $context["thumbnail"] = "img_cat_home_4.jpg";
  222.                         // line 61
  223.                         echo "                                ";
  224.                         $context["dimensions"] = "800_343_thumbnail";
  225.                         // line 62
  226.                         echo "                                ";
  227.                         $context["class"] = "col-sm-12";
  228.                         // line 63
  229.                         echo "                            ";
  230.                     }
  231.                     // line 64
  232.                     echo "
  233.                             ";
  234.                     // line 65
  235.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse65) || ((twig_length_filter($this->env, (isset($context["lienBlocLignesDroite"]) || array_key_exists("lienBlocLignesDroite"$context) ? $context["lienBlocLignesDroite"] : (function () { throw new RuntimeError('Variable "lienBlocLignesDroite" does not exist.'65$this->source); })())) == 4) && (twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse65) == 3)))) {
  236.                         // line 66
  237.                         echo "                                ";
  238.                         $context["class"] = ((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'66$this->source); })()) . " mt-sm-2");
  239.                         // line 67
  240.                         echo "                            ";
  241.                     }
  242.                     // line 68
  243.                     echo "
  244.                             <div class=\"";
  245.                     // line 69
  246.                     echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'69$this->source); })()), "html"nulltrue);
  247.                     echo "\">
  248.                                 <a href=\"";
  249.                     // line 70
  250.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'70$this->source); })()), "boutonLien", [], "any"falsefalsefalse70), "html"nulltrue);
  251.                     echo "\" title=\"";
  252.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'70$this->source); })()), "boutonTitre", [], "any"falsefalsefalse70), "html"nulltrue);
  253.                     echo "\" ";
  254.                     if ((twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'70$this->source); })()), "boutonTarget", [], "any"falsefalsefalse70) === true)) {
  255.                         echo "target=\"_blank\"";
  256.                     }
  257.                     echo ">
  258.                                     ";
  259.                     // line 71
  260.                     if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'71$this->source); })()), "image", [], "any"falsefalsefalse71))) {
  261.                         // line 72
  262.                         echo "                                        <img src=\"";
  263.                         echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\AppRuntime')->sonataMedia(twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'72$this->source); })()), "image", [], "any"falsefalsefalse72), (isset($context["dimensions"]) || array_key_exists("dimensions"$context) ? $context["dimensions"] : (function () { throw new RuntimeError('Variable "dimensions" does not exist.'72$this->source); })())), "html"nulltrue);
  264.                         echo "\" alt=\"";
  265.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'72$this->source); })()), "getAlt", [], "any"falsefalsefalse72), "html"nulltrue);
  266.                         echo "\" class=\"img-fluid\" />
  267.                                     ";
  268.                     } else {
  269.                         // line 74
  270.                         echo "                                        <img src=\"";
  271.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("build/img/" . (isset($context["thumbnail"]) || array_key_exists("thumbnail"$context) ? $context["thumbnail"] : (function () { throw new RuntimeError('Variable "thumbnail" does not exist.'74$this->source); })()))), "html"nulltrue);
  272.                         echo "\" alt=\"";
  273.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'74$this->source); })()), "getAlt", [], "any"falsefalsefalse74), "html"nulltrue);
  274.                         echo "\" class=\"img-fluid\" />
  275.                                     ";
  276.                     }
  277.                     // line 76
  278.                     echo "                                    <div class=\"wrapper\">
  279.                                         <h2>";
  280.                     // line 77
  281.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'77$this->source); })()), "titre", [], "any"falsefalsefalse77), "html"nulltrue);
  282.                     echo "</h2>
  283.                                         ";
  284.                     // line 78
  285.                     if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'78$this->source); })()), "texte", [], "any"falsefalsefalse78))) {
  286.                         // line 79
  287.                         echo "                                            <p>";
  288.                         echo strip_tags(twig_get_attribute($this->env$this->source, (isset($context["ligne"]) || array_key_exists("ligne"$context) ? $context["ligne"] : (function () { throw new RuntimeError('Variable "ligne" does not exist.'79$this->source); })()), "texte", [], "any"falsefalsefalse79));
  289.                         echo "</p>
  290.                                         ";
  291.                     } else {
  292.                         // line 81
  293.                         echo "                                            <p>&nbsp;</p>
  294.                                         ";
  295.                     }
  296.                     // line 83
  297.                     echo "                                    </div>
  298.                                 </a>
  299.                             </div>
  300.                         ";
  301.                     ++$context['loop']['index0'];
  302.                     ++$context['loop']['index'];
  303.                     $context['loop']['first'] = false;
  304.                     if (isset($context['loop']['length'])) {
  305.                         --$context['loop']['revindex0'];
  306.                         --$context['loop']['revindex'];
  307.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  308.                     }
  309.                 }
  310.                 $_parent $context['_parent'];
  311.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lienBlocLigne'], $context['_parent'], $context['loop']);
  312.                 $context array_intersect_key($context$_parent) + $_parent;
  313.                 // line 87
  314.                 echo "                    </div>
  315.                 ";
  316.             }
  317.             // line 89
  318.             echo "            </div>
  319.         </div>
  320.     </div>
  321. ";
  322.         }
  323.         
  324.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  325.         
  326.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  327.     }
  328.     public function getTemplateName()
  329.     {
  330.         return "bloc/_bloc_9.html.twig";
  331.     }
  332.     public function isTraitable()
  333.     {
  334.         return false;
  335.     }
  336.     public function getDebugInfo()
  337.     {
  338.         return array (  328 => 89,  324 => 87,  307 => 83,  303 => 81,  297 => 79,  295 => 78,  291 => 77,  288 => 76,  280 => 74,  272 => 72,  270 => 71,  260 => 70,  256 => 69,  253 => 68,  250 => 67,  247 => 66,  245 => 65,  242 => 64,  239 => 63,  236 => 62,  233 => 61,  230 => 60,  227 => 59,  224 => 58,  221 => 57,  219 => 56,  216 => 55,  213 => 54,  196 => 53,  189 => 52,  187 => 51,  184 => 50,  179 => 47,  175 => 45,  169 => 43,  167 => 42,  163 => 41,  160 => 40,  152 => 38,  144 => 36,  142 => 35,  132 => 34,  129 => 33,  126 => 32,  124 => 31,  117 => 26,  113 => 24,  107 => 22,  105 => 21,  101 => 20,  98 => 19,  90 => 17,  82 => 15,  80 => 14,  70 => 13,  67 => 12,  65 => 11,  59 => 7,  56 => 6,  53 => 5,  51 => 4,  48 => 3,  46 => 2,  43 => 1,);
  339.     }
  340.     public function getSourceContext()
  341.     {
  342.         return new Source("<!-- TYPE_CONTENUS -->
  343. {% set lienBlocLignes = bloc.lienBlocLignesVisibles %}
  344. {% if lienBlocLignes|length >= 2 %}
  345.     {% set lienBlocLignesGauche = lienBlocLignes|slice(0, 1) %}
  346.     {% set lienBlocLignesDroite = lienBlocLignes|slice(1) %}
  347.     <div class=\"container\">
  348.         <div class=\"row small-gutters categories_grid\">
  349.             <div class=\"col-sm-12 col-md-6\">
  350.                 {% set ligne = lienBlocLignesGauche|first.ligne %}
  351.                 <a href=\"{{ ligne.boutonLien }}\" title=\"{{ ligne.boutonTitre }}\" {% if ligne.boutonTarget is same as(true) %}target=\"_blank\"{% endif %}>
  352.                     {% if ligne.image is not null %}
  353.                         <img src=\"{{ sonata_media(ligne.image, '700_604_thumbnail') }}\" alt=\"{{ ligne.getAlt }}\" class=\"img-fluid\" />
  354.                     {% else %}
  355.                         <img src=\"{{ asset('build/img/img_cat_home_1.jpg') }}\" alt=\"{{ ligne.getAlt }}\" class=\"img-fluid\" />
  356.                     {% endif %}
  357.                     <div class=\"wrapper\">
  358.                         <h2>{{ ligne.titre }}</h2>
  359.                         {% if ligne.texte is not null %}
  360.                             <p>{{ ligne.texte|striptags|raw }}</p>
  361.                         {% else %}
  362.                             <p>&nbsp;</p>
  363.                         {% endif %}
  364.                     </div>
  365.                 </a>
  366.             </div>
  367.             <div class=\"col-sm-12 col-md-6\">
  368.                 {% if lienBlocLignesDroite|length == 1 %}
  369.                     {% set ligne = lienBlocLignesDroite|first.ligne %}
  370.                     <a href=\"{{ ligne.boutonLien }}\" title=\"{{ ligne.boutonTitre }}\" {% if ligne.boutonTarget is same as(true) %}target=\"_blank\"{% endif %}>
  371.                         {% if ligne.image is not null %}
  372.                             <img src=\"{{ sonata_media(ligne.image, '700_604_thumbnail') }}\" alt=\"{{ ligne.getAlt }}\" class=\"img-fluid\" />
  373.                         {% else %}
  374.                             <img src=\"{{ asset('build/img/img_cat_home_1.jpg') }}\" alt=\"{{ ligne.getAlt }}\" class=\"img-fluid\" />
  375.                         {% endif %}
  376.                         <div class=\"wrapper\">
  377.                             <h2>{{ ligne.titre }}</h2>
  378.                             {% if ligne.texte is not null %}
  379.                                 <p>{{ ligne.texte|striptags|raw }}</p>
  380.                             {% else %}
  381.                                 <p>&nbsp;</p>
  382.                             {% endif %}
  383.                         </div>
  384.                     </a>
  385.                 {% endif %}
  386.                 {% if lienBlocLignesDroite|length > 1 %}
  387.                     <div class=\"row small-gutters mt-md-0 mt-sm-2 {% if lienBlocLignesDroite|length == 4 %}five-items{% endif %}\">
  388.                         {% for lienBlocLigne in lienBlocLignesDroite %}
  389.                             {% set ligne = lienBlocLigne.ligne %}
  390.                             {% set thumbnail    = 'img_cat_home_3.jpg' %}
  391.                             {% set dimensions   = '400_343_thumbnail' %}
  392.                             {% set class        = 'col-sm-6' %}
  393.                             {% if lienBlocLignesDroite|length == 2 or (lienBlocLignesDroite|length == 3 and loop.last) %}
  394.                                 {% set thumbnail    = 'img_cat_home_4.jpg' %}
  395.                                 {% set dimensions   = '800_343_thumbnail' %}
  396.                                 {% set class        = 'col-sm-12' %}
  397.                             {% endif %}
  398.                             {% if loop.last or (lienBlocLignesDroite|length == 4 and loop.index == 3) %}
  399.                                 {% set class = class ~ ' mt-sm-2' %}
  400.                             {% endif %}
  401.                             <div class=\"{{ class }}\">
  402.                                 <a href=\"{{ ligne.boutonLien }}\" title=\"{{ ligne.boutonTitre }}\" {% if ligne.boutonTarget is same as(true) %}target=\"_blank\"{% endif %}>
  403.                                     {% if ligne.image is not null %}
  404.                                         <img src=\"{{ sonata_media(ligne.image, dimensions) }}\" alt=\"{{ ligne.getAlt }}\" class=\"img-fluid\" />
  405.                                     {% else %}
  406.                                         <img src=\"{{ asset('build/img/'~thumbnail) }}\" alt=\"{{ ligne.getAlt }}\" class=\"img-fluid\" />
  407.                                     {% endif %}
  408.                                     <div class=\"wrapper\">
  409.                                         <h2>{{ ligne.titre }}</h2>
  410.                                         {% if ligne.texte is not null %}
  411.                                             <p>{{ ligne.texte|striptags|raw }}</p>
  412.                                         {% else %}
  413.                                             <p>&nbsp;</p>
  414.                                         {% endif %}
  415.                                     </div>
  416.                                 </a>
  417.                             </div>
  418.                         {% endfor %}
  419.                     </div>
  420.                 {% endif %}
  421.             </div>
  422.         </div>
  423.     </div>
  424. {% endif %}""bloc/_bloc_9.html.twig""/home/promostamt/dev/templates/bloc/_bloc_9.html.twig");
  425.     }
  426. }