<?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;
/* layout/layout.html.twig */
class __TwigTemplate_236906a55d06291fbb7ad8d02418bd4a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'head_stylesheets' => [$this, 'block_head_stylesheets'],
'layout_head_meta' => [$this, 'block_layout_head_meta'],
'headscripts' => [$this, 'block_headscripts'],
];
$this->deferred = $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
}
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", "layout/layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/layout.html.twig"));
// line 1
ob_start();
// line 2
echo "
";
// line 4
echo " ";
$context["pageName"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("pageName", null, 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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "locale", [], "any", false, false, false, 4));
// line 5
echo "
";
// line 7
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/dist/css/app.min.css")], "method", false, false, false, 7);
// line 8
echo "
";
// line 9
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 9, $this->source); })())) {
// line 10
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/dist/css/editmode.min.css")], "method", false, false, false, 10);
// line 11
echo " ";
}
// line 12
echo " ";
// line 13
echo "
";
// line 14
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/dist/js/app.min.js")], "method", false, false, false, 14);
// line 15
echo "
";
// line 18
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "set", [0 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 18, $this->source); })()), "getTitle", [], "method", false, false, false, 18)], "method", false, false, false, 18);
// line 19
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "append", [0 => (isset($context["pageName"]) || array_key_exists("pageName", $context) ? $context["pageName"] : (function () { throw new RuntimeError('Variable "pageName" does not exist.', 19, $this->source); })())], "method", false, false, false, 19);
// line 20
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 20, $this->source); })()), "getTitle", [], "method", false, false, false, 20)) {
// line 21
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "setSeparator", [0 => " | "], "method", false, false, false, 21);
// line 22
echo " ";
}
// line 23
echo "
";
// line 25
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setDescription", [0 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 25, $this->source); })()), "getDescription", [], "method", false, false, false, 25)], "method", false, false, false, 25);
// line 26
echo "
";
// line 27
if ((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.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "schemeAndHttpHost", [], "any", false, false, false, 27) == "https://apimedia.a4interactive.ch")) {
// line 28
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setName", [0 => "robots", 1 => "noindex, follow"], "method", false, false, false, 28);
// line 29
echo " ";
} else {
// line 30
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setName", [0 => "robots", 1 => "index, follow"], "method", false, false, false, 30);
// line 31
echo " ";
}
// line 32
echo "
";
// line 33
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setName", [0 => "language", 1 => 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.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "locale", [], "any", false, false, false, 33)], "method", false, false, false, 33);
// line 34
echo "
";
// line 36
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:title", 1 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 36, $this->source); })()), "getTitle", [], "method", false, false, false, 36)], "method", false, false, false, 36);
// line 37
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:description", 1 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 37, $this->source); })()), "getDescription", [], "method", false, false, false, 37)], "method", false, false, false, 37);
// line 38
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:type", 1 => "website"], "method", false, false, false, 38);
// line 39
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:url", 1 => 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.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "uri", [], "any", false, false, false, 39)], "method", false, false, false, 39);
// line 40
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:locale", 1 => 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.', 40, $this->source); })()), "request", [], "any", false, false, false, 40), "locale", [], "any", false, false, false, 40)], "method", false, false, false, 40);
// line 41
echo "
";
// line 43
echo " ";
// line 44
echo " ";
if (( !array_key_exists("document", $context) || !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 44, $this->source); })()))) {
// line 45
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 46
echo " ";
}
// line 47
echo "
";
// line 48
$context["navStartNode"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 48, $this->source); })()), "getProperty", [0 => "navigation_root"], "method", false, false, false, 48);
// line 49
echo " ";
$context["id"] = (isset($context["documentId"]) || array_key_exists("documentId", $context) ? $context["documentId"] : (function () { throw new RuntimeError('Variable "documentId" does not exist.', 49, $this->source); })());
// line 50
echo "
";
// line 51
if ( !call_user_func_array($this->env->getTest('instanceof')->getCallable(), [(isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 51, $this->source); })()), "\\Pimcore\\Model\\Document\\Page"])) {
// line 52
echo "
";
// line 53
if (Pimcore\Model\Site::isSiteRequest()) {
// line 54
echo " ";
$context["site"] = Pimcore\Model\Site::getCurrentSite();
// line 55
echo " ";
$context["navStartNode"] = twig_get_attribute($this->env, $this->source, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 55, $this->source); })()), "getRootDocument", [], "method", false, false, false, 55);
// line 56
echo " ";
} else {
// line 57
echo " ";
$context["navStartNode"] = Pimcore\Model\Document::getById(1);
// line 58
echo " ";
}
// line 59
echo "
";
}
// line 61
echo "
";
// line 62
$context["mainNavigation"] = call_user_func_array($this->env->getFunction('pimcore_build_nav')->getCallable(), [["active" => (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 62, $this->source); })()), "root" => (isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 62, $this->source); })())]]);
// line 63
echo " ";
$context["menuRenderer"] = call_user_func_array($this->env->getFunction('pimcore_nav_renderer')->getCallable(), ["menu"]);
// line 64
echo " ";
// line 65
echo "
";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
echo twig_spaceless($___internal_parse_0_);
// line 67
echo "
<!DOCTYPE html>
<html lang=\"";
// line 69
echo twig_escape_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.', 69, $this->source); })()), "request", [], "any", false, false, false, 69), "locale", [], "any", false, false, false, 69), "html", null, true);
echo "\">
<head>
<meta charset=\"UTF-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5\">
";
// line 75
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 78
echo "
";
// line 80
echo " ";
$this->loadTemplate("includes/favicons.html.twig", "layout/layout.html.twig", 80)->display($context);
// line 81
echo " ";
// line 82
echo "
<link rel=\"canonical\" href=\"";
// line 83
echo twig_escape_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.', 83, $this->source); })()), "request", [], "any", false, false, false, 83), "getSchemeAndHttpHost", [], "any", false, false, false, 83) . 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.', 83, $this->source); })()), "request", [], "any", false, false, false, 83), "baseUrl", [], "any", false, false, false, 83)) . 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.', 83, $this->source); })()), "request", [], "any", false, false, false, 83), "pathInfo", [], "any", false, false, false, 83)), "html", null, true);
echo "\"/>
";
// line 85
$this->displayBlock('layout_head_meta', $context, $blocks);
// line 89
echo "
";
// line 91
echo " ";
$context["subdomainName"] = ("https://" . $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("subdomain"));
// line 92
echo " ";
$this->loadTemplate("includes/window-vars.html.twig", "layout/layout.html.twig", 92)->display($context);
// line 93
echo " ";
// line 94
echo "</head>
<body id=\"body\">
<div id=\"trigger-hero-image\" class=\"trigger-hero-image\"></div>
<div class=\"menu-bg\">
<button class=\"close-menu\">
<img src=\"";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/images/x_button.svg"), "html", null, true);
echo "\" alt=\"Schliessen\" title=\"Schliessen\">
</button>
<div class=\"mobile-navigation\">
";
// line 103
$this->loadTemplate("/includes/partials/ul-nav.html.twig", "layout/layout.html.twig", 103)->display($context);
// line 104
echo "
<a class=\"impress\" href=\"";
// line 105
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 105, $this->source); })()), "getProperty", [0 => "dataImprintDoc"], "method", false, false, false, 105), "html", null, true);
echo "\">Impressum</a>
</div>
</div>
<main class=\"wrapper-body noSelect\">
";
// line 110
$this->displayBlock("content", $context, $blocks);
echo "
";
// line 112
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 112, $this->source); })())) {
// line 113
echo " ";
// line 114
echo " ";
}
// line 115
echo "
";
// line 117
echo " ";
echo call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 117, $this->source); })()), "getProperty", [0 => "footer"], "method", false, false, false, 117)]);
echo "
";
// line 119
echo " </main>
</body>
";
// line 123
$this->displayBlock('headscripts', $context, $blocks);
// line 126
echo "</html>";
$this->deferred->resolve($this, $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function block_head_stylesheets($context, array $blocks = [])
{
$this->deferred->defer($this, 'head_stylesheets');
}
// line 75
public function block_head_stylesheets_deferred($context, array $blocks = [])
{
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
// line 76
echo " ";
echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_layout_head_meta($context, array $blocks = [])
{
$this->deferred->defer($this, 'layout_head_meta');
}
// line 85
public function block_layout_head_meta_deferred($context, array $blocks = [])
{
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
// line 86
echo " ";
echo call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []);
echo "
";
// line 87
echo call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_headscripts($context, array $blocks = [])
{
$this->deferred->defer($this, 'headscripts');
}
// line 123
public function block_headscripts_deferred($context, array $blocks = [])
{
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
// line 124
echo " ";
echo call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function getTemplateName()
{
return "layout/layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 395 => 124, 386 => 123, 368 => 87, 363 => 86, 354 => 85, 335 => 76, 326 => 75, 310 => 126, 308 => 123, 302 => 119, 297 => 117, 294 => 115, 291 => 114, 289 => 113, 287 => 112, 282 => 110, 274 => 105, 271 => 104, 269 => 103, 263 => 100, 255 => 94, 253 => 93, 250 => 92, 247 => 91, 244 => 89, 242 => 85, 237 => 83, 234 => 82, 232 => 81, 229 => 80, 226 => 78, 224 => 75, 215 => 69, 211 => 67, 209 => 1, 205 => 65, 203 => 64, 200 => 63, 198 => 62, 195 => 61, 191 => 59, 188 => 58, 185 => 57, 182 => 56, 179 => 55, 176 => 54, 174 => 53, 171 => 52, 169 => 51, 166 => 50, 163 => 49, 161 => 48, 158 => 47, 155 => 46, 152 => 45, 149 => 44, 147 => 43, 144 => 41, 141 => 40, 138 => 39, 135 => 38, 132 => 37, 129 => 36, 126 => 34, 124 => 33, 121 => 32, 118 => 31, 115 => 30, 112 => 29, 109 => 28, 107 => 27, 104 => 26, 101 => 25, 98 => 23, 95 => 22, 92 => 21, 89 => 20, 86 => 19, 83 => 18, 79 => 15, 77 => 14, 74 => 13, 72 => 12, 69 => 11, 66 => 10, 64 => 9, 61 => 8, 58 => 7, 55 => 5, 52 => 4, 49 => 2, 47 => 1,);
}
public function getSourceContext()
{
return new Source("{% apply spaceless %}
{# Page name #}
{% set pageName = pimcore_website_config('pageName', null, app.request.locale) %}
{# styles #}
{% do pimcore_head_link().appendStylesheet(asset('/assets/dist/css/app.min.css')) %}
{% if editmode %}
{% do pimcore_head_link().appendStylesheet(asset('/assets/dist/css/editmode.min.css')) %}
{% endif %}
{# scripts #}
{% do pimcore_head_script().appendFile(asset('/assets/dist/js/app.min.js')) %}
{# Title #}
{% do pimcore_head_title().set(document.getTitle()) %}
{% do pimcore_head_title().append(pageName) %}
{% if document.getTitle() %}
{% do pimcore_head_title().setSeparator(' | ') %}
{% endif %}
{# Meta-Tags #}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% if app.request.schemeAndHttpHost == \"https://apimedia.a4interactive.ch\" %}
{% do pimcore_head_meta().setName('robots', 'noindex, follow') %}
{% else %}
{% do pimcore_head_meta().setName('robots', 'index, follow') %}
{% endif %}
{% do pimcore_head_meta().setName('language', app.request.locale) %}
{# OG-Tags #}
{% do pimcore_head_meta().setProperty('og:title', document.getTitle()) %}
{% do pimcore_head_meta().setProperty('og:description', document.getDescription()) %}
{% do pimcore_head_meta().setProperty('og:type', 'website') %}
{% do pimcore_head_meta().setProperty('og:url', app.request.uri) %}
{% do pimcore_head_meta().setProperty('og:locale', app.request.locale) %}
{# NAVIGATION SETTINGS START #}
{# get root node if there is no document defined (for pages which are routed directly through static route) #}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% set navStartNode = document.getProperty('navigation_root') %}
{% set id = documentId %}
{% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
{% if pimcore_site_is_request() %}
{% set site = pimcore_site_current() %}
{% set navStartNode = site.getRootDocument() %}
{% else %}
{% set navStartNode = pimcore_document(1) %}
{% endif %}
{% endif %}
{% set mainNavigation = pimcore_build_nav({active: document, root: navStartNode}) %}
{% set menuRenderer = pimcore_nav_renderer('menu') %}
{# NAVIGATION SETTINGS END #}
{% endapply %}
<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
<meta charset=\"UTF-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5\">
{% block head_stylesheets deferred %}
{{ pimcore_head_link() }}
{% endblock %}
{# favicon Start #}
{% include 'includes/favicons.html.twig' %}
{# favicon End #}
<link rel=\"canonical\" href=\"{{ app.request.getSchemeAndHttpHost ~ app.request.baseUrl ~ app.request.pathInfo }}\"/>
{% block layout_head_meta deferred %}
{{ pimcore_head_title() }}
{{ pimcore_head_meta() }}
{% endblock %}
{# window variables start #}
{% set subdomainName = \"https://#{pimcore_website_config('subdomain')}\" %}
{% include 'includes/window-vars.html.twig' %}
{# window variables end #}
</head>
<body id=\"body\">
<div id=\"trigger-hero-image\" class=\"trigger-hero-image\"></div>
<div class=\"menu-bg\">
<button class=\"close-menu\">
<img src=\"{{ asset('/assets/images/x_button.svg') }}\" alt=\"Schliessen\" title=\"Schliessen\">
</button>
<div class=\"mobile-navigation\">
{% include '/includes/partials/ul-nav.html.twig' %}
<a class=\"impress\" href=\"{{ document.getProperty('dataImprintDoc') }}\">Impressum</a>
</div>
</div>
<main class=\"wrapper-body noSelect\">
{{ block('content') }}
{% if not editmode %}
{#{{ include('includes/blocks/cookies-eu-banner.html.twig') }}#}
{% endif %}
{# footer start #}
{{ pimcore_inc(document.getProperty('footer')) }}
{# footer end #}
</main>
</body>
{% block headscripts deferred %}
{{ pimcore_head_script() | raw }}
{% endblock %}
</html>", "layout/layout.html.twig", "/home/httpd/vhosts/a4interactive.ch/httpdocs/apimedia.a4interactive.ch/apimedia/templates/layout/layout.html.twig");
}
}