<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* base.html.twig */
class __TwigTemplate_0d48b6930af742d04da592b0ab0a63c4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'meta' => [$this, 'block_meta'],
'style' => [$this, 'block_style'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
'custom_javascripts' => [$this, 'block_custom_javascripts'],
];
}
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", "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", "base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "_"), 0, [], "array", false, false, false, 2), "html", null, true);
echo "\">
<head>
";
// line 4
$context["webspaceSettings"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("webspace_settings");
// line 5
echo "
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<link rel=\"shortcut icon\" href=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/images/favicon.ico"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/images/favicon-16x16.png"), "html", null, true);
echo "\" sizes=\"16x16\">
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/images/favicon-32x32.png"), "html", null, true);
echo "\" sizes=\"32x32\">
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/images/android-chrome-192x192.png"), "html", null, true);
echo "\" sizes=\"192x192\">
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/images/android-chrome-512x512.png"), "html", null, true);
echo "\" sizes=\"512x512\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/images/apple-touch-icon.png"), "html", null, true);
echo "\">
";
// line 17
$this->displayBlock('meta', $context, $blocks);
// line 25
echo "
";
// line 26
$this->displayBlock('style', $context, $blocks);
// line 37
echo "</head>
<body>
<div>
";
// line 40
$this->loadTemplate("components/navbar.html.twig", "base.html.twig", 40)->display($context);
// line 41
echo "
<main>
";
// line 43
$this->displayBlock('content', $context, $blocks);
// line 44
echo " </main>
</div>
<footer class=\"py-5\">
";
// line 48
$this->displayBlock('footer', $context, $blocks);
// line 51
echo " </footer>
";
// line 53
$this->displayBlock('javascripts', $context, $blocks);
// line 56
echo "
";
// line 57
$this->displayBlock('custom_javascripts', $context, $blocks);
// line 59
echo "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 17
public function block_meta($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", "meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 18
echo " ";
$this->loadTemplate("@SuluWebsite/Extension/seo.html.twig", "base.html.twig", 18)->display(twig_array_merge($context, ["seo" => ((twig_get_attribute($this->env, $this->source, // line 19
($context["extension"] ?? null), "seo", [], "any", true, true, false, 19)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, false, false, 19), [])) : ([])), "content" => (( // line 20
array_key_exists("content", $context)) ? (_twig_default_filter((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 20, $this->source); })()), [])) : ([])), "localizations" => (( // line 21
array_key_exists("localizations", $context)) ? (_twig_default_filter((isset($context["localizations"]) || array_key_exists("localizations", $context) ? $context["localizations"] : (function () { throw new RuntimeError('Variable "localizations" does not exist.', 21, $this->source); })()), [])) : ([])), "shadowBaseLocale" => (( // line 22
array_key_exists("shadowBaseLocale", $context)) ? (_twig_default_filter((isset($context["shadowBaseLocale"]) || array_key_exists("shadowBaseLocale", $context) ? $context["shadowBaseLocale"] : (function () { throw new RuntimeError('Variable "shadowBaseLocale" does not exist.', 22, $this->source); })()))) : (""))]));
// line 24
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 26
public function block_style($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", "style"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
// line 27
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
// line 28
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("fonts");
echo "
";
// line 29
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("theme");
echo "
<style>
:root {
--azh-yellow: ";
// line 32
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["webspaceSettings"] ?? null), "content", [], "any", false, true, false, 32), "themeColor", [], "any", true, true, false, 32)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["webspaceSettings"] ?? null), "content", [], "any", false, true, false, 32), "themeColor", [], "any", false, false, false, 32), "#6e6867")) : ("#6e6867")), "html", null, true);
echo " !important;
--azh-yellow-hover: ";
// line 33
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["webspaceSettings"] ?? null), "content", [], "any", false, true, false, 33), "themeColorHover", [], "any", true, true, false, 33)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["webspaceSettings"] ?? null), "content", [], "any", false, true, false, 33), "themeColorHover", [], "any", false, false, false, 33), "#ada6a5")) : ("#ada6a5")), "html", null, true);
echo " !important;
}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 43
public function block_content($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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 48
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 49
echo " ";
$this->loadTemplate("components/footer.html.twig", "base.html.twig", 49)->display($context);
// line 50
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 53
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 54
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 57
public function block_custom_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", "custom_javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "custom_javascripts"));
// line 58
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 286 => 58, 276 => 57, 263 => 54, 253 => 53, 243 => 50, 240 => 49, 230 => 48, 212 => 43, 198 => 33, 194 => 32, 188 => 29, 184 => 28, 179 => 27, 169 => 26, 159 => 24, 157 => 22, 156 => 21, 155 => 20, 154 => 19, 152 => 18, 142 => 17, 130 => 59, 128 => 57, 125 => 56, 123 => 53, 119 => 51, 117 => 48, 111 => 44, 109 => 43, 105 => 41, 103 => 40, 98 => 37, 96 => 26, 93 => 25, 91 => 17, 86 => 15, 82 => 14, 78 => 13, 74 => 12, 70 => 11, 66 => 10, 59 => 5, 57 => 4, 52 => 2, 49 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale|split('_')[0] }}\">
<head>
{% set webspaceSettings = sulu_snippet_load_by_area('webspace_settings') %}
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<link rel=\"shortcut icon\" href=\"{{ asset('build/website/images/favicon.ico') }}\">
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset('build/website/images/favicon-16x16.png') }}\" sizes=\"16x16\">
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset('build/website/images/favicon-32x32.png') }}\" sizes=\"32x32\">
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset('build/website/images/android-chrome-192x192.png') }}\" sizes=\"192x192\">
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset('build/website/images/android-chrome-512x512.png') }}\" sizes=\"512x512\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('build/website/images/apple-touch-icon.png') }}\">
{% block meta %}
{% include \"@SuluWebsite/Extension/seo.html.twig\" with {
\"seo\": extension.seo|default([]),
\"content\": content|default([]),
\"localizations\": localizations|default([]),
\"shadowBaseLocale\": shadowBaseLocale|default(),
} %}
{% endblock %}
{% block style %}
{{ encore_entry_link_tags('app') }}
{{ encore_entry_link_tags('fonts') }}
{{ encore_entry_link_tags('theme') }}
<style>
:root {
--azh-yellow: {{ webspaceSettings.content.themeColor|default('#6e6867') }} !important;
--azh-yellow-hover: {{ webspaceSettings.content.themeColorHover|default('#ada6a5') }} !important;
}
</style>
{% endblock %}
</head>
<body>
<div>
{% include 'components/navbar.html.twig' %}
<main>
{% block content %}{% endblock %}
</main>
</div>
<footer class=\"py-5\">
{% block footer %}
{% include 'components/footer.html.twig' %}
{% endblock %}
</footer>
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
{% block custom_javascripts %}
{% endblock %}
</body>
</html>
", "base.html.twig", "/var/www/html/templates/base.html.twig");
}
}