var/cache/dev/twig/9d/9dfcd1a2f210b8f7a78acee6638bb602d4f489e204a2fede478f74110e3e52f1.php line 102

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. /* base.html.twig */
  14. class __TwigTemplate_6d0e4abff77dd93aabd614b0e51a5797b6b783fd867a27ead3027e5db054349b extends 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.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.             'body' => [$this'block_body'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         // line 1
  38.         echo "<!DOCTYPE html>
  39. <html>
  40.     <head>
  41.         <meta charset=\"UTF-8\">
  42.         ";
  43.         // line 6
  44.         $context["favicon_path"] = "/favicon/";
  45.         // line 7
  46.         echo "        ";
  47.         if (twig_in_filter("test.genesii.fr"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "host", [], "any"falsefalsefalse7))) {
  48.             // line 8
  49.             echo "            ";
  50.             $context["favicon_path"] = "/favicon-test/";
  51.             // line 9
  52.             echo "        ";
  53.         }
  54.         // line 10
  55.         echo "
  56.         <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
  57.         // line 11
  58.         echo twig_escape_filter($this->env, (isset($context["favicon_path"]) || array_key_exists("favicon_path"$context) ? $context["favicon_path"] : (function () { throw new RuntimeError('Variable "favicon_path" does not exist.'11$this->source); })()), "html"nulltrue);
  59.         echo "apple-touch-icon.png\">
  60.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  61.         // line 12
  62.         echo twig_escape_filter($this->env, (isset($context["favicon_path"]) || array_key_exists("favicon_path"$context) ? $context["favicon_path"] : (function () { throw new RuntimeError('Variable "favicon_path" does not exist.'12$this->source); })()), "html"nulltrue);
  63.         echo "favicon-32x32.png\">
  64.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  65.         // line 13
  66.         echo twig_escape_filter($this->env, (isset($context["favicon_path"]) || array_key_exists("favicon_path"$context) ? $context["favicon_path"] : (function () { throw new RuntimeError('Variable "favicon_path" does not exist.'13$this->source); })()), "html"nulltrue);
  67.         echo "favicon-16x16.png\">
  68.         <link rel=\"manifest\" href=\"/favicon/site.webmanifest\">
  69.         <link rel=\"mask-icon\" href=\"/favicon/safari-pinned-tab.svg\" color=\"#2c2c2c\">
  70.         <meta name=\"msapplication-TileColor\" content=\"#2c2c2c\">
  71.         <meta name=\"theme-color\" content=\"#2c2c2c\">
  72.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=0, viewport-fit=cover, minimal-ui\">
  73.         <title>";
  74.         // line 20
  75.         $this->displayBlock('title'$context$blocks);
  76.         echo "</title>
  77.         ";
  78.         // line 22
  79.         echo "        ";
  80.         $this->displayBlock('stylesheets'$context$blocks);
  81.         // line 25
  82.         echo "
  83.         ";
  84.         // line 26
  85.         $this->displayBlock('javascripts'$context$blocks);
  86.         // line 29
  87.         echo "    </head>
  88.     <body>
  89.         ";
  90.         // line 31
  91.         $this->displayBlock('body'$context$blocks);
  92.         // line 32
  93.         echo "    </body>
  94. </html>
  95. ";
  96.         
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  98.         
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  100.     }
  101.     // line 20
  102.     public function block_title($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  107.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  109.         echo "Welcome!";
  110.         
  111.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  112.         
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  114.     }
  115.     // line 22
  116.     public function block_stylesheets($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  121.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  123.         // line 23
  124.         echo "            ";
  125.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  126.         echo "
  127.         ";
  128.         
  129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  130.         
  131.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  132.     }
  133.     // line 26
  134.     public function block_javascripts($context, array $blocks = [])
  135.     {
  136.         $macros $this->macros;
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  138.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  140.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  141.         // line 27
  142.         echo "            ";
  143.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  144.         echo "
  145.         ";
  146.         
  147.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  148.         
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  150.     }
  151.     // line 31
  152.     public function block_body($context, array $blocks = [])
  153.     {
  154.         $macros $this->macros;
  155.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  156.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  157.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  158.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  159.         
  160.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  161.         
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  163.     }
  164.     public function getTemplateName()
  165.     {
  166.         return "base.html.twig";
  167.     }
  168.     public function isTraitable()
  169.     {
  170.         return false;
  171.     }
  172.     public function getDebugInfo()
  173.     {
  174.         return array (  181 => 31,  168 => 27,  158 => 26,  145 => 23,  135 => 22,  116 => 20,  104 => 32,  102 => 31,  98 => 29,  96 => 26,  93 => 25,  90 => 22,  86 => 20,  76 => 13,  72 => 12,  68 => 11,  65 => 10,  62 => 9,  59 => 8,  56 => 7,  54 => 6,  47 => 1,);
  175.     }
  176.     public function getSourceContext()
  177.     {
  178.         return new Source("<!DOCTYPE html>
  179. <html>
  180.     <head>
  181.         <meta charset=\"UTF-8\">
  182.         {% set favicon_path = '/favicon/' %}
  183.         {% if 'test.genesii.fr' in app.request.host %}
  184.             {% set favicon_path = '/favicon-test/' %}
  185.         {% endif %}
  186.         <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ favicon_path }}apple-touch-icon.png\">
  187.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ favicon_path }}favicon-32x32.png\">
  188.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ favicon_path }}favicon-16x16.png\">
  189.         <link rel=\"manifest\" href=\"/favicon/site.webmanifest\">
  190.         <link rel=\"mask-icon\" href=\"/favicon/safari-pinned-tab.svg\" color=\"#2c2c2c\">
  191.         <meta name=\"msapplication-TileColor\" content=\"#2c2c2c\">
  192.         <meta name=\"theme-color\" content=\"#2c2c2c\">
  193.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=0, viewport-fit=cover, minimal-ui\">
  194.         <title>{% block title %}Welcome!{% endblock %}</title>
  195.         {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  196.         {% block stylesheets %}
  197.             {{ encore_entry_link_tags('app') }}
  198.         {% endblock %}
  199.         {% block javascripts %}
  200.             {{ encore_entry_script_tags('app') }}
  201.         {% endblock %}
  202.     </head>
  203.     <body>
  204.         {% block body %}{% endblock %}
  205.     </body>
  206. </html>
  207. ""base.html.twig""/home/clients/d5fc483de73e2cf6f126c55abcd1b2e6/sites/lk1.test.genesii.fr/templates/base.html.twig");
  208.     }
  209. }