<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Frontend/base.html.twig */
class __TwigTemplate_9fa2a7e48b4b63256d0298ba840b4c16 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'seoheader' => [$this, 'block_seoheader'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'header' => [$this, 'block_header'],
'switcher' => [$this, 'block_switcher'],
'body' => [$this, 'block_body'],
'footer' => [$this, 'block_footer'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/base.html.twig"));
// line 1
$context["selected_lang"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 1), "getLocale", [], "method", false, false, false, 1);
// line 2
yield "<!DOCTYPE html>
<html lang=\"";
// line 3
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", null, true);
yield "\" dir=\"ltr\">
<head>
<meta charset=\"UTF-8\">
<meta http-\"equiv=X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta name=\"theme-color\" content=\"#206ba4\">
<meta name=\"msapplication-navbutton-color\" content=\"#206ba4\">
<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"#206ba4\">
<meta name=\"language\" content=\"";
// line 11
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", null, true);
yield "\"/>
<meta name=\"robots\" content=\"index, follow, all\"/>
<meta name=\"googlebot\" content=\"index, follow\"/>
<meta name=\"copyright\" content=\"elevenmedia\"/>
<link rel=\"shortcut icon\" href=\"";
// line 15
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
yield "\" type=\"image/x-icon\">
";
// line 17
yield from $this->unwrap()->yieldBlock('seoheader', $context, $blocks);
// line 20
yield "
";
// line 21
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 24
yield "
";
// line 25
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 28
yield "
</head>
<body class=\"";
// line 30
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")) {
yield "style_en";
}
yield "\">
";
// line 32
yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
// line 36
yield "
";
// line 37
yield from $this->unwrap()->yieldBlock('switcher', $context, $blocks);
// line 38
yield "
";
// line 39
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
// line 40
yield "
";
// line 42
yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
// line 46
yield "
<script type=\"text/javascript\" src=\"";
// line 47
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/main.js"), "html", null, true);
yield "\"></script>
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
// line 17
public function block_seoheader($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoheader"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoheader"));
// line 18
yield " ";
yield from $this->loadTemplate("Frontend/Render/head/_seoheader.html.twig", "Frontend/base.html.twig", 18)->unwrap()->yield($context);
// line 19
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 21
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 22
yield " ";
yield from $this->loadTemplate("Frontend/Render/head/_stylesheets.html.twig", "Frontend/base.html.twig", 22)->unwrap()->yield($context);
// line 23
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 25
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 26
yield " ";
yield from $this->loadTemplate("Frontend/Render/head/_javascripts.html.twig", "Frontend/base.html.twig", 26)->unwrap()->yield($context);
// line 27
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 32
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 33
yield " ";
// line 34
yield " ";
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_header"));
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 37
public function block_switcher($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "switcher"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "switcher"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 39
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 42
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 43
yield " ";
// line 44
yield " ";
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_footer"));
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "Frontend/base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% set selected_lang = app.request.getLocale() %}
<!DOCTYPE html>
<html lang=\"{{selected_lang}}\" dir=\"ltr\">
<head>
<meta charset=\"UTF-8\">
<meta http-\"equiv=X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta name=\"theme-color\" content=\"#206ba4\">
<meta name=\"msapplication-navbutton-color\" content=\"#206ba4\">
<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"#206ba4\">
<meta name=\"language\" content=\"{{selected_lang}}\"/>
<meta name=\"robots\" content=\"index, follow, all\"/>
<meta name=\"googlebot\" content=\"index, follow\"/>
<meta name=\"copyright\" content=\"elevenmedia\"/>
<link rel=\"shortcut icon\" href=\"{{ asset('favicon.ico') }}\" type=\"image/x-icon\">
{% block seoheader %}
{% include 'Frontend/Render/head/_seoheader.html.twig' %}
{% endblock %}
{% block stylesheets %}
{% include 'Frontend/Render/head/_stylesheets.html.twig'%}
{% endblock %}
{% block javascripts %}
{% include 'Frontend/Render/head/_javascripts.html.twig'%}
{% endblock %}
</head>
<body class=\"{% if selected_lang == 'en' %}style_en{% endif %}\">
{% block header %}
{#% include 'Frontend/_header.html.twig' with {'page_selected':page_selected} %#}
{{ render(path('_header')) }}
{% endblock %}
{% block switcher %}{% endblock %}
{% block body %}{% endblock %}
{% block footer %}
{#% include 'Frontend/_footer.html.twig' with {'page_selected':page_selected} %#}
{{ render(path('_footer')) }}
{% endblock %}
<script type=\"text/javascript\" src=\"{{ asset('assets/js/main.js')}}\"></script>
</body>
</html>
", "Frontend/base.html.twig", "/home/site/wwwroot/templates/Frontend/base.html.twig");
}
}