var/cache/dev/twig/31/3165f4cb83f04b2dfe88d19d7940dab5.php line 275

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. /* Frontend/base.html.twig */
  15. class __TwigTemplate_9fa2a7e48b4b63256d0298ba840b4c16 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.             'seoheader' => [$this'block_seoheader'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.             'header' => [$this'block_header'],
  29.             'switcher' => [$this'block_switcher'],
  30.             'body' => [$this'block_body'],
  31.             'footer' => [$this'block_footer'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/base.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/base.html.twig"));
  41.         // line 1
  42.         $context["selected_lang"] = CoreExtension::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.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "getLocale", [], "method"falsefalsefalse1);
  43.         // line 2
  44.         yield "<!DOCTYPE html>  
  45. <html lang=\"";
  46.         // line 3
  47.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["selected_lang"]) || array_key_exists("selected_lang"$context) ? $context["selected_lang"] : (function () { throw new RuntimeError('Variable "selected_lang" does not exist.'3$this->source); })()), "html"nulltrue);
  48.         yield "\" dir=\"ltr\"> 
  49. <head>
  50.     <meta charset=\"UTF-8\">
  51.     <meta http-\"equiv=X-UA-Compatible\" content=\"IE=edge\">
  52.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  53.     <meta name=\"theme-color\" content=\"#206ba4\">
  54.     <meta name=\"msapplication-navbutton-color\" content=\"#206ba4\">
  55.     <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"#206ba4\"> 
  56.     <meta name=\"language\" content=\"";
  57.         // line 11
  58.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["selected_lang"]) || array_key_exists("selected_lang"$context) ? $context["selected_lang"] : (function () { throw new RuntimeError('Variable "selected_lang" does not exist.'11$this->source); })()), "html"nulltrue);
  59.         yield "\"/>
  60.     <meta name=\"robots\" content=\"index, follow, all\"/>
  61.     <meta name=\"googlebot\" content=\"index, follow\"/>
  62.     <meta name=\"copyright\" content=\"elevenmedia\"/> 
  63.     <link rel=\"shortcut icon\" href=\"";
  64.         // line 15
  65.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html"nulltrue);
  66.         yield "\" type=\"image/x-icon\">
  67.     ";
  68.         // line 17
  69.         yield from $this->unwrap()->yieldBlock('seoheader'$context$blocks);
  70.         // line 20
  71.         yield "
  72.     ";
  73.         // line 21
  74.         yield from $this->unwrap()->yieldBlock('stylesheets'$context$blocks);
  75.         // line 24
  76.         yield "
  77.     ";
  78.         // line 25
  79.         yield from $this->unwrap()->yieldBlock('javascripts'$context$blocks);
  80.         // line 28
  81.         yield "
  82. </head>
  83. <body class=\"";
  84.         // line 30
  85.         if (((isset($context["selected_lang"]) || array_key_exists("selected_lang"$context) ? $context["selected_lang"] : (function () { throw new RuntimeError('Variable "selected_lang" does not exist.'30$this->source); })()) == "en")) {
  86.             yield "style_en";
  87.         }
  88.         yield "\">
  89.     ";
  90.         // line 32
  91.         yield from $this->unwrap()->yieldBlock('header'$context$blocks);
  92.         // line 36
  93.         yield 
  94.     ";
  95.         // line 37
  96.         yield from $this->unwrap()->yieldBlock('switcher'$context$blocks);
  97.         // line 38
  98.         yield 
  99.     ";
  100.         // line 39
  101.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  102.         // line 40
  103.         yield 
  104.     ";
  105.         // line 42
  106.         yield from $this->unwrap()->yieldBlock('footer'$context$blocks);
  107.         // line 46
  108.         yield "
  109.     <script type=\"text/javascript\" src=\"";
  110.         // line 47
  111.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/main.js"), "html"nulltrue);
  112.         yield "\"></script>
  113. </body>
  114. </html>
  115. ";
  116.         
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  118.         
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  120.         return; yield '';
  121.     }
  122.     // line 17
  123.     public function block_seoheader($context, array $blocks = [])
  124.     {
  125.         $macros $this->macros;
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seoheader"));
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seoheader"));
  130.         // line 18
  131.         yield "        ";
  132.         yield from         $this->loadTemplate("Frontend/Render/head/_seoheader.html.twig""Frontend/base.html.twig"18)->unwrap()->yield($context);
  133.         // line 19
  134.         yield "    ";
  135.         
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  137.         
  138.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  139.         return; yield '';
  140.     }
  141.     // line 21
  142.     public function block_stylesheets($context, array $blocks = [])
  143.     {
  144.         $macros $this->macros;
  145.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  149.         // line 22
  150.         yield "        ";
  151.         yield from         $this->loadTemplate("Frontend/Render/head/_stylesheets.html.twig""Frontend/base.html.twig"22)->unwrap()->yield($context);
  152.         // line 23
  153.         yield "    ";
  154.         
  155.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  156.         
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  158.         return; yield '';
  159.     }
  160.     // line 25
  161.     public function block_javascripts($context, array $blocks = [])
  162.     {
  163.         $macros $this->macros;
  164.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  166.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  168.         // line 26
  169.         yield "        ";
  170.         yield from         $this->loadTemplate("Frontend/Render/head/_javascripts.html.twig""Frontend/base.html.twig"26)->unwrap()->yield($context);
  171.         // line 27
  172.         yield "    ";
  173.         
  174.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  175.         
  176.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  177.         return; yield '';
  178.     }
  179.     // line 32
  180.     public function block_header($context, array $blocks = [])
  181.     {
  182.         $macros $this->macros;
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  185.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  187.         // line 33
  188.         yield "        ";
  189.         // line 34
  190.         yield "        ";
  191.         yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_header"));
  192.         yield "
  193.     ";
  194.         
  195.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  196.         
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  198.         return; yield '';
  199.     }
  200.     // line 37
  201.     public function block_switcher($context, array $blocks = [])
  202.     {
  203.         $macros $this->macros;
  204.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  205.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""switcher"));
  206.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  207.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""switcher"));
  208.         
  209.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  210.         
  211.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  212.         return; yield '';
  213.     }
  214.     // line 39
  215.     public function block_body($context, array $blocks = [])
  216.     {
  217.         $macros $this->macros;
  218.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  220.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  221.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  222.         
  223.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  224.         
  225.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  226.         return; yield '';
  227.     }
  228.     // line 42
  229.     public function block_footer($context, array $blocks = [])
  230.     {
  231.         $macros $this->macros;
  232.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  233.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  234.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  235.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  236.         // line 43
  237.         yield "        ";
  238.         // line 44
  239.         yield "        ";
  240.         yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_footer"));
  241.         yield "
  242.     ";
  243.         
  244.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  245.         
  246.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  247.         return; yield '';
  248.     }
  249.     /**
  250.      * @codeCoverageIgnore
  251.      */
  252.     public function getTemplateName()
  253.     {
  254.         return "Frontend/base.html.twig";
  255.     }
  256.     /**
  257.      * @codeCoverageIgnore
  258.      */
  259.     public function isTraitable()
  260.     {
  261.         return false;
  262.     }
  263.     /**
  264.      * @codeCoverageIgnore
  265.      */
  266.     public function getDebugInfo()
  267.     {
  268.         return array (  287 => 44,  285 => 43,  275 => 42,  256 => 39,  237 => 37,  223 => 34,  221 => 33,  211 => 32,  200 => 27,  197 => 26,  187 => 25,  176 => 23,  173 => 22,  163 => 21,  152 => 19,  149 => 18,  139 => 17,  123 => 47,  120 => 46,  118 => 42,  114 => 40,  112 => 39,  109 => 38,  107 => 37,  104 => 36,  102 => 32,  95 => 30,  91 => 28,  89 => 25,  86 => 24,  84 => 21,  81 => 20,  79 => 17,  74 => 15,  67 => 11,  56 => 3,  53 => 2,  51 => 1,);
  269.     }
  270.     public function getSourceContext()
  271.     {
  272.         return new Source("{% set selected_lang =  app.request.getLocale() %}
  273. <!DOCTYPE html>  
  274. <html lang=\"{{selected_lang}}\" dir=\"ltr\"> 
  275. <head>
  276.     <meta charset=\"UTF-8\">
  277.     <meta http-\"equiv=X-UA-Compatible\" content=\"IE=edge\">
  278.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  279.     <meta name=\"theme-color\" content=\"#206ba4\">
  280.     <meta name=\"msapplication-navbutton-color\" content=\"#206ba4\">
  281.     <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"#206ba4\"> 
  282.     <meta name=\"language\" content=\"{{selected_lang}}\"/>
  283.     <meta name=\"robots\" content=\"index, follow, all\"/>
  284.     <meta name=\"googlebot\" content=\"index, follow\"/>
  285.     <meta name=\"copyright\" content=\"elevenmedia\"/> 
  286.     <link rel=\"shortcut icon\" href=\"{{ asset('favicon.ico') }}\" type=\"image/x-icon\">
  287.     {% block seoheader %}
  288.         {% include 'Frontend/Render/head/_seoheader.html.twig' %}
  289.     {% endblock %}
  290.     {% block stylesheets %}
  291.         {% include 'Frontend/Render/head/_stylesheets.html.twig'%}
  292.     {% endblock %}
  293.     {% block javascripts %}
  294.         {% include 'Frontend/Render/head/_javascripts.html.twig'%}
  295.     {% endblock %}
  296. </head>
  297. <body class=\"{% if selected_lang == 'en' %}style_en{% endif %}\">
  298.     {% block header %}
  299.         {#% include 'Frontend/_header.html.twig' with {'page_selected':page_selected} %#}
  300.         {{ render(path('_header')) }}
  301.     {% endblock %}
  302.  
  303.     {% block switcher %}{% endblock %}
  304.  
  305.     {% block body %}{% endblock %}
  306.  
  307.     {% block footer %}
  308.         {#% include 'Frontend/_footer.html.twig' with {'page_selected':page_selected} %#}
  309.         {{ render(path('_footer')) }}
  310.     {% endblock %}
  311.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/main.js')}}\"></script>
  312. </body>
  313. </html>
  314. ""Frontend/base.html.twig""/home/site/wwwroot/templates/Frontend/base.html.twig");
  315.     }
  316. }