<?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_1b1fb603d0960fec51a21fd1a689b914 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'],
'layout_head_link' => [$this, 'block_layout_head_link'],
'content' => [$this, 'block_content'],
'layout_scripts' => [$this, 'block_layout_scripts'],
];
$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>
";
// line 2
if (array_key_exists("document_id", $context)) {
// line 3
echo " ";
$context["document"] = Pimcore\Model\Document::getById((isset($context["document_id"]) || array_key_exists("document_id", $context) ? $context["document_id"] : (function () { throw new RuntimeError('Variable "document_id" does not exist.', 3, $this->source); })()));
}
// line 5
echo "<html lang=\"";
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.', 5, $this->source); })()), "getProperty", [0 => "language"], "method", false, false, false, 5), "html", null, true);
echo "\">
<head>
<meta charset=\"UTF-8\">
";
// line 8
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "appendName", [0 => "viewport", 1 => "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"], "method", false, false, false, 8);
// line 9
echo "
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/icons/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icons/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icons/favicon-16x16.png\">
<link rel=\"manifest\" href=\"/icons/manifest.json\">
<link rel=\"mask-icon\" href=\"/icons/safari-pinned-tab.svg\" color=\"#5bbad5\">
<link rel=\"shortcut icon\" href=\"/icons/favicon.ico\">
<meta name=\"msapplication-TileColor\" content=\"#da532c\">
<meta name=\"msapplication-config\" content=\"/icons/browserconfig.xml\">
<meta name=\"theme-color\" content=\"#ffffff\">
";
// line 20
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/main.css")], "method", false, false, false, 20);
// line 21
echo " ";
// line 22
echo "
";
// line 23
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/main.js")], "method", false, false, false, 23);
// line 24
echo "
";
// line 25
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.', 25, $this->source); })()))) {
// line 26
echo " ";
if (array_key_exists("document_id", $context)) {
// line 27
echo " ";
$context["document"] = Pimcore\Model\Document::getById((isset($context["document_id"]) || array_key_exists("document_id", $context) ? $context["document_id"] : (function () { throw new RuntimeError('Variable "document_id" does not exist.', 27, $this->source); })()));
// line 28
echo " ";
} else {
// line 29
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 30
echo " ";
}
// line 31
echo " ";
}
// line 32
echo "
";
// line 33
twig_get_attribute($this->env, $this->source, $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.', 33, $this->source); })()), "getTitle", [], "method", false, false, false, 33)], "method", false, false, false, 33);
// line 34
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "append", [0 => "Gemeente Molenlanden"], "method", false, false, false, 34);
// line 35
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [0 => " : "], "method", false, false, false, 35);
// line 36
echo " ";
twig_get_attribute($this->env, $this->source, $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.', 36, $this->source); })()), "getDescription", [], "method", false, false, false, 36)], "method", false, false, false, 36);
// line 37
echo " ";
$this->displayBlock('layout_head_meta', $context, $blocks);
// line 41
echo "
";
// line 42
$this->displayBlock('layout_head_link', $context, $blocks);
// line 51
echo " <title>";
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.', 51, $this->source); })()), "getTitle", [], "method", false, false, false, 51), "html", null, true);
echo "</title>
</head>
<body>
";
// line 54
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 54, $this->source); })())) {
// line 55
echo " ";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "video", "headerVideo");
echo "
";
}
// line 57
echo "<header class=\"jumbo-header pt-4 ";
if ( !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "video", "headerVideo"), "isEmpty", [], "method", false, false, false, 57)) {
echo " has-video ";
}
echo "\"
";
// line 58
if (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "video", "headerVideo"), "isEmpty", [], "method", false, false, false, 58)) {
// line 59
echo " ";
$context["headerImage"] = 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.', 59, $this->source); })()), "getProperty", [0 => "headerImage"], "method", false, false, false, 59);
// line 60
echo " ";
if ( !(isset($context["headerImage"]) || array_key_exists("headerImage", $context) ? $context["headerImage"] : (function () { throw new RuntimeError('Variable "headerImage" does not exist.', 60, $this->source); })())) {
// line 61
echo " ";
$context["headerImage"] = twig_random($this->env, (isset($context["headerImages"]) || array_key_exists("headerImages", $context) ? $context["headerImages"] : (function () { throw new RuntimeError('Variable "headerImages" does not exist.', 61, $this->source); })()));
// line 62
echo " ";
}
// line 63
echo "
style=\"";
// line 64
if ((isset($context["headerImage"]) || array_key_exists("headerImage", $context) ? $context["headerImage"] : (function () { throw new RuntimeError('Variable "headerImage" does not exist.', 64, $this->source); })())) {
echo "background-image: url(";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["headerImage"]) || array_key_exists("headerImage", $context) ? $context["headerImage"] : (function () { throw new RuntimeError('Variable "headerImage" does not exist.', 64, $this->source); })()), "thumbnail", [0 => "headerImage"], "method", false, false, false, 64), "html", null, true);
echo ");";
}
echo "\"
";
}
// line 65
echo ">
";
// line 68
if ( !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "video", "headerVideo"), "isEmpty", [], "method", false, false, false, 68)) {
// line 69
echo " ";
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 69, $this->source); })())) {
// line 70
echo " <div class=\"embed-responsive embed-responsive-16by9 header-video\" id=\"holder\">
";
// line 71
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "video", "headerVideo", ["thumbnail" => "headerVideo", "height" => "100%", "attributes" => ["class" => "video-js", "controls" => false, "autoplay" => "any", "loop" => true, "fluid" => true, "playsinline" => true, "muted" => true]]);
// line 83
echo "
</div>
<div class=\"sr-only\">Hier speelt een video waarin De Gemeente Molenlanden wordt getoond.</div>
";
}
// line 87
echo " ";
} else {
// line 88
echo " <div class=\"sr-only\">Hier staat een foto met omschrijving: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["headerImage"]) || array_key_exists("headerImage", $context) ? $context["headerImage"] : (function () { throw new RuntimeError('Variable "headerImage" does not exist.', 88, $this->source); })()), "getMetadata", [0 => "alt"], "method", false, false, false, 88), "html", null, true);
echo "</div>
";
}
// line 90
echo " ";
echo twig_include($this->env, $context, "partials/page-heading.html.twig");
echo "
</header>
";
// line 92
echo twig_include($this->env, $context, "partials/navigation.html.twig");
echo "
<div class=\"main-content\">
";
// line 94
$this->displayBlock('content', $context, $blocks);
// line 96
echo "</div>
<footer>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-6 text-center\">
<img src=\"";
// line 102
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/Logo_Molenlanden_HR.png"), "html", null, true);
echo "\" alt=\"Gemeente Molenlanden logo\"
class=\"img-fluid\"
width=\"60%\"/>
</div>
<div class=\"col-6 text-center mt-3\">
";
// line 108
$context["linkedinUrl"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("linkedin_url", false);
// line 109
echo " ";
$context["facebookUrl"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("facebook_url", false);
// line 110
echo " ";
$context["twitterUrl"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("twitter_url", false);
// line 111
echo " ";
$context["instagramUrl"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("instagram_url", false);
// line 112
echo " ";
$context["youtubeUrl"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("youtube_url", false);
// line 113
echo " Vind ons op:
";
// line 114
if ((isset($context["linkedinUrl"]) || array_key_exists("linkedinUrl", $context) ? $context["linkedinUrl"] : (function () { throw new RuntimeError('Variable "linkedinUrl" does not exist.', 114, $this->source); })())) {
// line 115
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["linkedinUrl"]) || array_key_exists("linkedinUrl", $context) ? $context["linkedinUrl"] : (function () { throw new RuntimeError('Variable "linkedinUrl" does not exist.', 115, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\"
title=\"Ga naar onze Linkedin pagina\"><i class=\"fa-2x fab fa-linkedin\"></i></a>
";
}
// line 118
echo " ";
if ((isset($context["facebookUrl"]) || array_key_exists("facebookUrl", $context) ? $context["facebookUrl"] : (function () { throw new RuntimeError('Variable "facebookUrl" does not exist.', 118, $this->source); })())) {
// line 119
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["facebookUrl"]) || array_key_exists("facebookUrl", $context) ? $context["facebookUrl"] : (function () { throw new RuntimeError('Variable "facebookUrl" does not exist.', 119, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\"
title=\"Ga naar onze Facebook pagina\"><i class=\"fa-2x fab fa-facebook\"></i></a>
";
}
// line 122
echo " ";
if ((isset($context["instagramUrl"]) || array_key_exists("instagramUrl", $context) ? $context["instagramUrl"] : (function () { throw new RuntimeError('Variable "instagramUrl" does not exist.', 122, $this->source); })())) {
// line 123
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["instagramUrl"]) || array_key_exists("instagramUrl", $context) ? $context["instagramUrl"] : (function () { throw new RuntimeError('Variable "instagramUrl" does not exist.', 123, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\"
title=\"Ga naar onze Instagram\"><i class=\"fa-2x fab fa-instagram\"></i></a>
";
}
// line 126
echo " ";
if ((isset($context["twitterUrl"]) || array_key_exists("twitterUrl", $context) ? $context["twitterUrl"] : (function () { throw new RuntimeError('Variable "twitterUrl" does not exist.', 126, $this->source); })())) {
// line 127
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["twitterUrl"]) || array_key_exists("twitterUrl", $context) ? $context["twitterUrl"] : (function () { throw new RuntimeError('Variable "twitterUrl" does not exist.', 127, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\"
title=\"Ga naar onze Twitter feed\"><i class=\"fa-2x fab fa-twitter\"></i></a>
";
}
// line 130
echo " ";
if ((isset($context["youtubeUrl"]) || array_key_exists("youtubeUrl", $context) ? $context["youtubeUrl"] : (function () { throw new RuntimeError('Variable "youtubeUrl" does not exist.', 130, $this->source); })())) {
// line 131
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["youtubeUrl"]) || array_key_exists("youtubeUrl", $context) ? $context["youtubeUrl"] : (function () { throw new RuntimeError('Variable "youtubeUrl" does not exist.', 131, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\"
title=\"Ga naar ons Youtube kanaal\"><i class=\"fa-2x fab fa-youtube\"></i></a>
";
}
// line 134
echo " </div>
</div>
<div class=\"row\">
<div class=\"col-sm-12 text-center\">
<div class=\"copyright\">©";
// line 138
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo " Gemeente Molenlanden - Alle rechten voorbehouden
</div>
<p><a href=\"/privacyverklaring\" title=\"Ga naar privacyverklaring\" target=\"_blank\">Privacyverklaring</a>
</p>
</div>
</div>
</div>
</footer>
";
// line 146
$this->displayBlock('layout_scripts', $context, $blocks);
// line 160
echo "</body>
</html>";
$this->deferred->resolve($this, $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
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_meta')->getCallable()();
echo "
";
// line 39
echo $this->env->getFunction('pimcore_head_title')->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_link($context, array $blocks = [])
{
$this->deferred->defer($this, 'layout_head_link');
}
// line 42
public function block_layout_head_link_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_link"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_link"));
// line 43
echo " <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
<link href=\"https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;700&display=swap\"
rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"";
// line 46
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/bootstrap.css"), "html", null, true);
echo "\">
<link href=\"";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/video-js.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<script src=\"https://kit.fontawesome.com/5be91c17e6.js\" crossorigin=\"anonymous\"></script>
";
// line 49
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 94
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"));
// line 95
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_layout_scripts($context, array $blocks = [])
{
$this->deferred->defer($this, 'layout_scripts');
}
// line 146
public function block_layout_scripts_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_scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_scripts"));
// line 147
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/jquery.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 148
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/bootstrap.js"), "html", null, true);
echo "\"></script>
";
// line 149
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 149, $this->source); })())) {
}
// line 151
echo $this->env->getFunction('pimcore_head_script')->getCallable()();
echo "
<script src=\"";
// line 152
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/video.js"), "html", null, true);
echo "\"></script>
<script>
\$(window).on('load', function () {
initSmoothScrolling('.projects-slider.top', 'pstscroll', 6);
initSmoothScrolling('.projects-slider.bottom', 'pstscroll', 8);
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function getTemplateName()
{
return "layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 464 => 152, 460 => 151, 457 => 149, 453 => 148, 448 => 147, 438 => 146, 423 => 95, 413 => 94, 400 => 49, 395 => 47, 391 => 46, 386 => 43, 376 => 42, 358 => 39, 353 => 38, 343 => 37, 326 => 160, 324 => 146, 313 => 138, 307 => 134, 300 => 131, 297 => 130, 290 => 127, 287 => 126, 280 => 123, 277 => 122, 270 => 119, 267 => 118, 260 => 115, 258 => 114, 255 => 113, 252 => 112, 249 => 111, 246 => 110, 243 => 109, 241 => 108, 232 => 102, 224 => 96, 222 => 94, 217 => 92, 211 => 90, 205 => 88, 202 => 87, 196 => 83, 194 => 71, 191 => 70, 188 => 69, 186 => 68, 181 => 65, 172 => 64, 169 => 63, 166 => 62, 163 => 61, 160 => 60, 157 => 59, 155 => 58, 148 => 57, 142 => 55, 140 => 54, 133 => 51, 131 => 42, 128 => 41, 125 => 37, 122 => 36, 119 => 35, 116 => 34, 114 => 33, 111 => 32, 108 => 31, 105 => 30, 102 => 29, 99 => 28, 96 => 27, 93 => 26, 91 => 25, 88 => 24, 86 => 23, 83 => 22, 81 => 21, 79 => 20, 66 => 9, 64 => 8, 57 => 5, 53 => 3, 51 => 2, 48 => 1,);
}
public function getSourceContext()
{
return new Source("<!doctype html>
{% if document_id is defined %}
{% set document = pimcore_document(document_id) %}
{% endif %}
<html lang=\"{{ document.getProperty('language') }}\">
<head>
<meta charset=\"UTF-8\">
{% do pimcore_head_meta().appendName(\"viewport\", \"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\") %}
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/icons/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icons/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icons/favicon-16x16.png\">
<link rel=\"manifest\" href=\"/icons/manifest.json\">
<link rel=\"mask-icon\" href=\"/icons/safari-pinned-tab.svg\" color=\"#5bbad5\">
<link rel=\"shortcut icon\" href=\"/icons/favicon.ico\">
<meta name=\"msapplication-TileColor\" content=\"#da532c\">
<meta name=\"msapplication-config\" content=\"/icons/browserconfig.xml\">
<meta name=\"theme-color\" content=\"#ffffff\">
{% do pimcore_head_link().appendStylesheet(asset(\"static/css/main.css\")) %}
{# {% do pimcore_head_link().appendStylesheet(asset(\"static/css/slider.css\")) %} #}
{% do pimcore_head_script().appendFile(asset(\"static/js/main.js\")) %}
{% if not document is defined or not document %}
{% if document_id is defined %}
{% set document = pimcore_document(document_id) %}
{% else %}
{% set document = pimcore_document(1) %}
{% endif %}
{% endif %}
{% do pimcore_head_title().set(document.getTitle()) %}
{% do pimcore_head_title().append(\"Gemeente Molenlanden\") %}
{% do pimcore_head_title().setSeparator(\" : \") %}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% block layout_head_meta deferred %}
{{ pimcore_head_meta() }}
{{ pimcore_head_title() }}
{% endblock %}
{% block layout_head_link deferred %}
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
<link href=\"https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;700&display=swap\"
rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"{{ asset('static/css/bootstrap.css') }}\">
<link href=\"{{ asset('static/css/video-js.css') }}\" rel=\"stylesheet\">
<script src=\"https://kit.fontawesome.com/5be91c17e6.js\" crossorigin=\"anonymous\"></script>
{{ pimcore_head_link() }}
{% endblock %}
<title>{{ document.getTitle() }}</title>
</head>
<body>
{% if editmode %}
{{ pimcore_video(\"headerVideo\") }}
{% endif %}
<header class=\"jumbo-header pt-4 {% if not pimcore_video(\"headerVideo\").isEmpty() %} has-video {% endif %}\"
{% if pimcore_video(\"headerVideo\").isEmpty() %}
{% set headerImage = document.getProperty(\"headerImage\") %}
{% if not headerImage %}
{% set headerImage = random(headerImages) %}
{% endif %}
style=\"{% if headerImage %}background-image: url({{ headerImage.thumbnail(\"headerImage\") }});{% endif %}\"
{% endif %}>
{% if not pimcore_video(\"headerVideo\").isEmpty() %}
{% if not editmode %}
<div class=\"embed-responsive embed-responsive-16by9 header-video\" id=\"holder\">
{{ pimcore_video(\"headerVideo\", {
thumbnail: 'headerVideo',
height: '100%',
attributes: {
'class': 'video-js',
'controls': false,
'autoplay': 'any',
'loop': true,
'fluid': true,
'playsinline': true,
'muted': true
}
}) }}
</div>
<div class=\"sr-only\">Hier speelt een video waarin De Gemeente Molenlanden wordt getoond.</div>
{% endif %}
{% else %}
<div class=\"sr-only\">Hier staat een foto met omschrijving: {{ headerImage.getMetadata(\"alt\") }}</div>
{% endif %}
{{ include(\"partials/page-heading.html.twig\") }}
</header>
{{ include('partials/navigation.html.twig') }}
<div class=\"main-content\">
{% block content %}
{% endblock %}
</div>
<footer>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-6 text-center\">
<img src=\"{{ asset(\"static/img/Logo_Molenlanden_HR.png\") }}\" alt=\"Gemeente Molenlanden logo\"
class=\"img-fluid\"
width=\"60%\"/>
</div>
<div class=\"col-6 text-center mt-3\">
{% set linkedinUrl = pimcore_website_config('linkedin_url', false) %}
{% set facebookUrl = pimcore_website_config('facebook_url', false) %}
{% set twitterUrl = pimcore_website_config('twitter_url', false) %}
{% set instagramUrl = pimcore_website_config('instagram_url', false) %}
{% set youtubeUrl = pimcore_website_config('youtube_url', false) %}
Vind ons op:
{% if linkedinUrl %}
<a href=\"{{ linkedinUrl }}\" target=\"_blank\"
title=\"Ga naar onze Linkedin pagina\"><i class=\"fa-2x fab fa-linkedin\"></i></a>
{% endif %}
{% if facebookUrl %}
<a href=\"{{ facebookUrl }}\" target=\"_blank\"
title=\"Ga naar onze Facebook pagina\"><i class=\"fa-2x fab fa-facebook\"></i></a>
{% endif %}
{% if instagramUrl %}
<a href=\"{{ instagramUrl }}\" target=\"_blank\"
title=\"Ga naar onze Instagram\"><i class=\"fa-2x fab fa-instagram\"></i></a>
{% endif %}
{% if twitterUrl %}
<a href=\"{{ twitterUrl }}\" target=\"_blank\"
title=\"Ga naar onze Twitter feed\"><i class=\"fa-2x fab fa-twitter\"></i></a>
{% endif %}
{% if youtubeUrl %}
<a href=\"{{ youtubeUrl }}\" target=\"_blank\"
title=\"Ga naar ons Youtube kanaal\"><i class=\"fa-2x fab fa-youtube\"></i></a>
{% endif %}
</div>
</div>
<div class=\"row\">
<div class=\"col-sm-12 text-center\">
<div class=\"copyright\">©{{ \"now\"|date(\"Y\") }} Gemeente Molenlanden - Alle rechten voorbehouden
</div>
<p><a href=\"/privacyverklaring\" title=\"Ga naar privacyverklaring\" target=\"_blank\">Privacyverklaring</a>
</p>
</div>
</div>
</div>
</footer>
{% block layout_scripts deferred %}
<script src=\"{{ asset('static/js/jquery.js') }}\"></script>
<script src=\"{{ asset('static/js/bootstrap.js') }}\"></script>
{% if not editmode %}
{% endif %}
{{ pimcore_head_script() }}
<script src=\"{{ asset('static/js/video.js') }}\"></script>
<script>
\$(window).on('load', function () {
initSmoothScrolling('.projects-slider.top', 'pstscroll', 6);
initSmoothScrolling('.projects-slider.bottom', 'pstscroll', 8);
});
</script>
{% endblock %}
</body>
</html>", "layout.html.twig", "/var/www/dev/templates/layout.html.twig");
}
}