var/cache/dev/twig/39/3904abf13c3e90c6c6b3f03f207d3842.php line 89

  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. /* @Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig */
  15. class __TwigTemplate_3f0bfac83281f0b46cd4aa045e8456a9 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.             'metas' => [$this'block_metas'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'body' => [$this'block_body'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig"));
  38.         // line 1
  39.         yield "<!doctype html>
  40. <html class=\"no-js\" lang=\"fr\">
  41.     
  42. <!-- index28:48-->
  43.   <head>
  44.     ";
  45.         // line 7
  46.         yield from $this->unwrap()->yieldBlock('metas'$context$blocks);
  47.         // line 10
  48.         yield "
  49.     
  50.     <link rel=\"shortcut icon\" href=\"";
  51.         // line 12
  52.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/ilaveu/images/favicon.png"), "html"nulltrue);
  53.         yield "\" />
  54.     <meta name=\"format-detection\" content=\"telephone=no\" />
  55.     
  56.     <meta
  57.       name=\"viewport\"
  58.       content=\"width=device-width,initial-scale=1,shrink-to-fit=no,maximum-scale=1\"
  59.     />
  60.     ";
  61.         // line 20
  62.         yield from $this->unwrap()->yieldBlock('stylesheets'$context$blocks);
  63.         // line 23
  64.         yield "      </head>
  65.     <body>
  66.     <!--[if lt IE 8]>
  67. \t\t<p class=\"browserupgrade\">You are using an <strong>outdated</strong> browser. Please <a href=\"http://browsehappy.com/\">upgrade your browser</a> to improve your experience.</p>
  68. \t<![endif]-->
  69.         ";
  70.         // line 28
  71.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'28$this->source); })()), "request", [], "any"falsefalsefalse28), "attributes", [], "any"falsefalsefalse28), "get", ["_route"], "method"falsefalsefalse28) != "single_category_product")) {
  72.             // line 29
  73.             yield "       
  74.         ";
  75.         }
  76.         // line 31
  77.         yield "         ";
  78.         yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_header"));
  79.         yield "
  80.         
  81.         <div style=\"min-height:700px;\" >
  82.         <div class=\"animate__animated animate__fadeIn\" data-turbo-cache=\"false\">
  83.         ";
  84.         // line 36
  85.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  86.         // line 39
  87.         yield "        </div>
  88.         </div>
  89.         
  90.         ";
  91.         // line 44
  92.         yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_footer"));
  93.         yield "
  94.         ";
  95.         // line 46
  96.         yield from $this->unwrap()->yieldBlock('javascripts'$context$blocks);
  97.         // line 50
  98.         yield "    </body>
  99. <!-- index30:23-->
  100. </html>";
  101.         
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  103.         
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  105.         return; yield '';
  106.     }
  107.     // line 7
  108.     public function block_metas($context, array $blocks = [])
  109.     {
  110.         $macros $this->macros;
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metas"));
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metas"));
  115.         // line 8
  116.         yield "    ";
  117.         yield Twig\Extension\CoreExtension::join(CoreExtension::getAttribute($this->env$this->source, (isset($context["front"]) || array_key_exists("front"$context) ? $context["front"] : (function () { throw new RuntimeError('Variable "front" does not exist.'8$this->source); })()), "renderSeo", [], "any"falsefalsefalse8));
  118.         yield "
  119.     ";
  120.         
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  122.         
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  124.         return; yield '';
  125.     }
  126.     // line 20
  127.     public function block_stylesheets($context, array $blocks = [])
  128.     {
  129.         $macros $this->macros;
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  132.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  134.         // line 21
  135.         yield from         $this->loadTemplate("@Flexy/FrontBundle/Themes/IlaveU/templates/_head.html.twig""@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig"21)->unwrap()->yield($context);
  136.         // line 22
  137.         yield "    ";
  138.         
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  140.         
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  142.         return; yield '';
  143.     }
  144.     // line 36
  145.     public function block_body($context, array $blocks = [])
  146.     {
  147.         $macros $this->macros;
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  149.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  151.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  152.         // line 37
  153.         yield "
  154.         ";
  155.         
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  157.         
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  159.         return; yield '';
  160.     }
  161.     // line 46
  162.     public function block_javascripts($context, array $blocks = [])
  163.     {
  164.         $macros $this->macros;
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  169.         // line 47
  170.         yield "            ";
  171.         yield from         $this->loadTemplate("@Flexy/FrontBundle/Themes/IlaveU/templates/_javascripts.html.twig""@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig"47)->unwrap()->yield($context);
  172.         // line 48
  173.         yield "            
  174.         ";
  175.         
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  177.         
  178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  179.         return; yield '';
  180.     }
  181.     /**
  182.      * @codeCoverageIgnore
  183.      */
  184.     public function getTemplateName()
  185.     {
  186.         return "@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig";
  187.     }
  188.     /**
  189.      * @codeCoverageIgnore
  190.      */
  191.     public function isTraitable()
  192.     {
  193.         return false;
  194.     }
  195.     /**
  196.      * @codeCoverageIgnore
  197.      */
  198.     public function getDebugInfo()
  199.     {
  200.         return array (  209 => 48,  206 => 47,  196 => 46,  184 => 37,  174 => 36,  163 => 22,  161 => 21,  151 => 20,  137 => 8,  127 => 7,  113 => 50,  111 => 46,  106 => 44,  99 => 39,  97 => 36,  88 => 31,  84 => 29,  82 => 28,  75 => 23,  73 => 20,  62 => 12,  58 => 10,  56 => 7,  48 => 1,);
  201.     }
  202.     public function getSourceContext()
  203.     {
  204.         return new Source("<!doctype html>
  205. <html class=\"no-js\" lang=\"fr\">
  206.     
  207. <!-- index28:48-->
  208.   <head>
  209.     {% block metas %}
  210.     {{front.renderSeo|join|raw}}
  211.     {% endblock %}
  212.     
  213.     <link rel=\"shortcut icon\" href=\"{{asset(\"themes/ilaveu/images/favicon.png\")}}\" />
  214.     <meta name=\"format-detection\" content=\"telephone=no\" />
  215.     
  216.     <meta
  217.       name=\"viewport\"
  218.       content=\"width=device-width,initial-scale=1,shrink-to-fit=no,maximum-scale=1\"
  219.     />
  220.     {% block stylesheets %}
  221. {% include \"@Flexy/FrontBundle/Themes/IlaveU/templates/_head.html.twig\" %}
  222.     {% endblock %}
  223.       </head>
  224.     <body>
  225.     <!--[if lt IE 8]>
  226. \t\t<p class=\"browserupgrade\">You are using an <strong>outdated</strong> browser. Please <a href=\"http://browsehappy.com/\">upgrade your browser</a> to improve your experience.</p>
  227. \t<![endif]-->
  228.         {% if app.request.attributes.get(\"_route\") != \"single_category_product\" %}
  229.        
  230.         {% endif %}
  231.          {{ render(path('front_header')) }}
  232.         
  233.         <div style=\"min-height:700px;\" >
  234.         <div class=\"animate__animated animate__fadeIn\" data-turbo-cache=\"false\">
  235.         {% block body %}
  236.         {% endblock %}
  237.         </div>
  238.         </div>
  239.         
  240.         {{ render(path('front_footer')) }}
  241.         {% block javascripts %}
  242.             {% include \"@Flexy/FrontBundle/Themes/IlaveU/templates/_javascripts.html.twig\" %}
  243.             
  244.         {% endblock %}
  245.     </body>
  246. <!-- index30:23-->
  247. </html>""@Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig""/home/gebcloud/public_html/ilaveu/src/Flexy/FrontBundle/Themes/IlaveU/templates/layout.html.twig");
  248.     }
  249. }