<?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.html.twig */
class __TwigTemplate_e3fdf4f5c9b23f2901d4fcc4a010d833 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'layout_head_meta' => [$this, 'block_layout_head_meta'],
'stylesheets' => [$this, 'block_stylesheets'],
'head_stylesheets' => [$this, 'block_head_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
$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.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.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(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, true, 2), "locale", [], "any", false, false, true, 2), 2, $this->source), "html", null, true);
echo "\">
<head>
";
// line 4
$this->loadTemplate("includes/google-tagmanager.html.twig", "layout.html.twig", 4)->display($context);
// line 5
echo "
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
<meta name=\"p:domain_verify\" content=\"37180786e857d219eed8f9312cd5f3cb\"/>
<!-- FB Pixel -->
<meta name=\"facebook-domain-verification\" content=\"v89hx6hcvwe8w1b4qomgelokpgzfap\" />
";
// line 13
$this->loadTemplate("includes/favicon.html.twig", "layout.html.twig", 13)->display($context);
// line 14
echo "
";
// line 15
ob_start();
// line 16
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.', 16, $this->source); })()))) {
// line 17
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 18
echo " ";
}
// line 19
echo "
";
// line 20
if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 20, $this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
// line 21
echo " ";
// line 22
echo " ";
$context["document"] = 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.', 22, $this->source); })()), "getObject", [], "method", false, false, true, 22);
// line 23
echo " ";
}
// line 24
echo "
";
// line 25
if ( !twig_test_empty(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); })()), "getTitle", [], "method", false, false, true, 25))) {
// line 26
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [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.', 26, $this->source); })()), "getTitle", [], "method", false, false, true, 26)], "method", false, false, true, 26);
// line 27
echo " ";
}
// line 28
echo "
";
// line 29
if ( !twig_test_empty(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.', 29, $this->source); })()), "getDescription", [], "method", false, false, true, 29))) {
// line 30
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [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.', 30, $this->source); })()), "getDescription", [], "method", false, false, true, 30)], "method", false, false, true, 30);
// line 31
echo " ";
}
// line 32
echo "
";
// line 33
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "append", [" GC Architecten"], "method", false, false, true, 33);
// line 34
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [" | "], "method", false, false, true, 34);
echo "
";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 15
echo twig_spaceless($___internal_parse_0_);
// line 36
echo "
";
// line 37
$this->displayBlock('layout_head_meta', $context, $blocks);
// line 45
echo "
";
// line 46
$this->displayBlock('stylesheets', $context, $blocks);
// line 53
echo "
";
// line 54
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 57
echo "
";
// line 58
ob_start();
// line 59
echo " <script>
(function(d) {
var config = {
kitId: 'cyp5dwu',
scriptTimeout: 3000,
async: true
},
h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\\bwf-loading\\b/g,\"\")+\" wf-inactive\";},config.scriptTimeout),tk=d.createElement(\"script\"),f=false,s=d.getElementsByTagName(\"script\")[0],a;h.className+=\" wf-loading\";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!=\"complete\"&&a!=\"loaded\")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
})(document);
</script>
";
// line 70
echo $this->extensions['Pentatrion\ViteBundle\Twig\EntryFilesTwigExtension']->renderViteScriptTags("priority-js");
echo "
";
$___internal_parse_1_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 58
echo twig_spaceless($___internal_parse_1_);
// line 72
echo "</head>
<body class=\"\">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-T58Z3N3\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id=\"site\">
";
// line 80
$this->loadTemplate("includes/header.html.twig", "layout.html.twig", 80)->display($context);
// line 81
echo "
";
// line 82
$this->displayBlock("content", $context, $blocks);
echo "
<div class=\"main my-0 py-0\">";
// line 84
$this->loadTemplate("includes/cta-bottom.html.twig", "layout.html.twig", 84)->display($context);
echo "</div>
";
// line 86
echo $this->env->getFunction('pimcore_inc')->getCallable()((("/" . $this->sandbox->ensureToStringAllowed(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.', 86, $this->source); })()), "request", [], "any", false, false, true, 86), "locale", [], "any", false, false, true, 86), 86, $this->source)) . "/vaste-blokken/footer"));
echo "
";
// line 88
$this->loadTemplate("includes/cookies.html.twig", "layout.html.twig", 88)->display($context);
// line 89
echo " </div>
";
// line 91
$this->displayBlock('javascripts', $context, $blocks);
// line 94
echo " <script>
/*
function scrollWin() {
window.scrollTo(0, 1100);
}
\$(document).ready(function() {
\$(window).scroll(function(e) {
if (\$(window).scrollTop() > 10) {
\$('.logo_flex').addClass(\"d-none\");
\$('.header-logo').addClass(\"d-block\");
\$('.header-logo').removeClass(\"d-none\");
}
});
});
*/
</script>
</body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_layout_head_meta($context, array $blocks = [])
{
$this->deferred->defer($this, 'layout_head_meta');
}
// line 37
public function block_layout_head_meta_deferred($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", "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 38
echo " ";
echo $this->env->getFunction('pimcore_head_title')->getCallable()();
echo "
";
// line 39
echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
echo "
";
// line 41
if (twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method", false, false, true, 41)) {
// line 42
echo " <link rel=\"canonical\" href=\"";
echo $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
echo "\"/>
";
}
// line 44
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
// line 46
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 47
echo " <style type=\"text/css\">
.overlay, .ntr-cookies.hidden { opacity: 0; pointer-events: none; }
</style>
";
// line 51
echo $this->extensions['Pentatrion\ViteBundle\Twig\EntryFilesTwigExtension']->renderViteLinkTags("app-css");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_head_stylesheets($context, array $blocks = [])
{
$this->deferred->defer($this, 'head_stylesheets');
}
// line 54
public function block_head_stylesheets_deferred($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", "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 55
echo " ";
echo $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);
}
// line 91
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 92
echo " ";
echo $this->extensions['Pentatrion\ViteBundle\Twig\EntryFilesTwigExtension']->renderViteScriptTags("app-js");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 353 => 92, 343 => 91, 329 => 55, 319 => 54, 302 => 51, 296 => 47, 286 => 46, 275 => 44, 269 => 42, 267 => 41, 262 => 39, 257 => 38, 247 => 37, 212 => 94, 210 => 91, 206 => 89, 204 => 88, 199 => 86, 194 => 84, 189 => 82, 186 => 81, 184 => 80, 174 => 72, 172 => 58, 167 => 70, 154 => 59, 152 => 58, 149 => 57, 147 => 54, 144 => 53, 142 => 46, 139 => 45, 137 => 37, 134 => 36, 132 => 15, 126 => 34, 124 => 33, 121 => 32, 118 => 31, 115 => 30, 113 => 29, 110 => 28, 107 => 27, 104 => 26, 102 => 25, 99 => 24, 96 => 23, 93 => 22, 91 => 21, 89 => 20, 86 => 19, 83 => 18, 80 => 17, 77 => 16, 75 => 15, 72 => 14, 70 => 13, 60 => 5, 58 => 4, 53 => 2, 50 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
{% include 'includes/google-tagmanager.html.twig' %}
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
<meta name=\"p:domain_verify\" content=\"37180786e857d219eed8f9312cd5f3cb\"/>
<!-- FB Pixel -->
<meta name=\"facebook-domain-verification\" content=\"v89hx6hcvwe8w1b4qomgelokpgzfap\" />
{% include 'includes/favicon.html.twig' %}
{% apply spaceless %}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
{# @var document \\Pimcore\\Model\\Document\\Link #}
{% set document = document.getObject() %}
{% endif %}
{% if document.getTitle() is not empty %}
{% do pimcore_head_title().set(document.getTitle()) %}
{% endif %}
{% if document.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% endif %}
{% do pimcore_head_title().append(' GC Architecten') %}
{% do pimcore_head_title().setSeparator(' | ') %}
{% endapply %}
{% block layout_head_meta deferred %}
{{ pimcore_head_title() }}
{{ pimcore_head_meta() }}
{% if pimcore_placeholder('canonical').count() %}
<link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
{% endif %}
{% endblock %}
{% block stylesheets %}
<style type=\"text/css\">
.overlay, .ntr-cookies.hidden { opacity: 0; pointer-events: none; }
</style>
{{ vite_entry_link_tags('app-css') }}
{% endblock %}
{% block head_stylesheets deferred %}
{{ pimcore_head_link() }}
{% endblock %}
{% apply spaceless %}
<script>
(function(d) {
var config = {
kitId: 'cyp5dwu',
scriptTimeout: 3000,
async: true
},
h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\\bwf-loading\\b/g,\"\")+\" wf-inactive\";},config.scriptTimeout),tk=d.createElement(\"script\"),f=false,s=d.getElementsByTagName(\"script\")[0],a;h.className+=\" wf-loading\";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!=\"complete\"&&a!=\"loaded\")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
})(document);
</script>
{{ vite_entry_script_tags('priority-js') }}
{% endapply %}
</head>
<body class=\"\">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-T58Z3N3\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id=\"site\">
{% include 'includes/header.html.twig' %}
{{ block('content') }}
<div class=\"main my-0 py-0\">{% include 'includes/cta-bottom.html.twig' %}</div>
{{ pimcore_inc('/' ~ app.request.locale ~ '/vaste-blokken/footer') }}
{% include 'includes/cookies.html.twig' %}
</div>
{% block javascripts %}
{{ vite_entry_script_tags('app-js') }}
{% endblock %}
<script>
/*
function scrollWin() {
window.scrollTo(0, 1100);
}
\$(document).ready(function() {
\$(window).scroll(function(e) {
if (\$(window).scrollTop() > 10) {
\$('.logo_flex').addClass(\"d-none\");
\$('.header-logo').addClass(\"d-block\");
\$('.header-logo').removeClass(\"d-none\");
}
});
});
*/
</script>
</body>
</html>", "layout.html.twig", "/data/sites/web/gc-architectenntrigapimbe/subsites/gc2025.dspdev.be/templates/layout.html.twig");
}
public function checkSecurity()
{
static $tags = array("include" => 4, "apply" => 15, "if" => 16, "set" => 17, "do" => 26, "block" => 37);
static $filters = array("escape" => 2, "spaceless" => 15);
static $functions = array("pimcore_document" => 17, "pimcore_head_title" => 26, "pimcore_head_meta" => 30, "vite_entry_script_tags" => 70, "pimcore_inc" => 86, "pimcore_placeholder" => 41, "vite_entry_link_tags" => 51, "pimcore_head_link" => 55);
try {
$this->sandbox->checkSecurity(
['include', 'apply', 'if', 'set', 'do', 'block'],
['escape', 'spaceless'],
['pimcore_document', 'pimcore_head_title', 'pimcore_head_meta', 'vite_entry_script_tags', 'pimcore_inc', 'pimcore_placeholder', 'vite_entry_link_tags', 'pimcore_head_link']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
private $deferred;
}