var/cache/dev/twig/24/24e9901f77eee2bc8c930a69da241ccf.php line 222

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* layout.html.twig */
  14. class __TwigTemplate_1b1fb603d0960fec51a21fd1a689b914 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'layout_head_meta' => [$this'block_layout_head_meta'],
  25.             'layout_head_link' => [$this'block_layout_head_link'],
  26.             'content' => [$this'block_content'],
  27.             'layout_scripts' => [$this'block_layout_scripts'],
  28.         ];
  29.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  38.         // line 1
  39.         echo "<!doctype html>
  40. ";
  41.         // line 2
  42.         if (array_key_exists("document_id"$context)) {
  43.             // line 3
  44.             echo "    ";
  45.             $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); })()));
  46.         }
  47.         // line 5
  48.         echo "<html lang=\"";
  49.         echo twig_escape_filter($this->envtwig_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", [=> "language"], "method"falsefalsefalse5), "html"nulltrue);
  50.         echo "\">
  51. <head>
  52.     <meta charset=\"UTF-8\">
  53.     ";
  54.         // line 8
  55.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "appendName", [=> "viewport"=> "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"], "method"falsefalsefalse8);
  56.         // line 9
  57.         echo "
  58.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/icons/apple-touch-icon.png\">
  59.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icons/favicon-32x32.png\">
  60.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icons/favicon-16x16.png\">
  61.     <link rel=\"manifest\" href=\"/icons/manifest.json\">
  62.     <link rel=\"mask-icon\" href=\"/icons/safari-pinned-tab.svg\" color=\"#5bbad5\">
  63.     <link rel=\"shortcut icon\" href=\"/icons/favicon.ico\">
  64.     <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  65.     <meta name=\"msapplication-config\" content=\"/icons/browserconfig.xml\">
  66.     <meta name=\"theme-color\" content=\"#ffffff\">
  67.     ";
  68.         // line 20
  69.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/main.css")], "method"falsefalsefalse20);
  70.         // line 21
  71.         echo "    ";
  72.         // line 22
  73.         echo "
  74.     ";
  75.         // line 23
  76.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/main.js")], "method"falsefalsefalse23);
  77.         // line 24
  78.         echo "
  79.     ";
  80.         // line 25
  81.         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); })()))) {
  82.             // line 26
  83.             echo "        ";
  84.             if (array_key_exists("document_id"$context)) {
  85.                 // line 27
  86.                 echo "            ";
  87.                 $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); })()));
  88.                 // line 28
  89.                 echo "        ";
  90.             } else {
  91.                 // line 29
  92.                 echo "            ";
  93.                 $context["document"] = Pimcore\Model\Document::getById(1);
  94.                 // line 30
  95.                 echo "        ";
  96.             }
  97.             // line 31
  98.             echo "    ";
  99.         }
  100.         // line 32
  101.         echo "
  102.     ";
  103.         // line 33
  104.         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.'33$this->source); })()), "getTitle", [], "method"falsefalsefalse33)], "method"falsefalsefalse33);
  105.         // line 34
  106.         echo "    ";
  107.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "append", [=> "Gemeente Molenlanden"], "method"falsefalsefalse34);
  108.         // line 35
  109.         echo "    ";
  110.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [=> " : "], "method"falsefalsefalse35);
  111.         // line 36
  112.         echo "    ";
  113.         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.'36$this->source); })()), "getDescription", [], "method"falsefalsefalse36)], "method"falsefalsefalse36);
  114.         // line 37
  115.         echo "    ";
  116.         $this->displayBlock('layout_head_meta'$context$blocks);
  117.         // line 41
  118.         echo "
  119.     ";
  120.         // line 42
  121.         $this->displayBlock('layout_head_link'$context$blocks);
  122.         // line 51
  123.         echo "    <title>";
  124.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse51), "html"nulltrue);
  125.         echo "</title>
  126. </head>
  127. <body>
  128. ";
  129.         // line 54
  130.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'54$this->source); })())) {
  131.             // line 55
  132.             echo "    ";
  133.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"video""headerVideo");
  134.             echo "
  135. ";
  136.         }
  137.         // line 57
  138.         echo "<header class=\"jumbo-header pt-4 ";
  139.         if ( !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"video""headerVideo"), "isEmpty", [], "method"falsefalsefalse57)) {
  140.             echo " has-video ";
  141.         }
  142.         echo "\"
  143.     ";
  144.         // line 58
  145.         if (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"video""headerVideo"), "isEmpty", [], "method"falsefalsefalse58)) {
  146.             // line 59
  147.             echo "    ";
  148.             $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", [=> "headerImage"], "method"falsefalsefalse59);
  149.             // line 60
  150.             echo "    ";
  151.             if ( !(isset($context["headerImage"]) || array_key_exists("headerImage"$context) ? $context["headerImage"] : (function () { throw new RuntimeError('Variable "headerImage" does not exist.'60$this->source); })())) {
  152.                 // line 61
  153.                 echo "        ";
  154.                 $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); })()));
  155.                 // line 62
  156.                 echo "    ";
  157.             }
  158.             // line 63
  159.             echo "
  160.     style=\"";
  161.             // line 64
  162.             if ((isset($context["headerImage"]) || array_key_exists("headerImage"$context) ? $context["headerImage"] : (function () { throw new RuntimeError('Variable "headerImage" does not exist.'64$this->source); })())) {
  163.                 echo "background-image: url(";
  164.                 echo twig_escape_filter($this->envtwig_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", [=> "headerImage"], "method"falsefalsefalse64), "html"nulltrue);
  165.                 echo ");";
  166.             }
  167.             echo "\"
  168.     ";
  169.         }
  170.         // line 65
  171.         echo ">
  172.     ";
  173.         // line 68
  174.         if ( !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"video""headerVideo"), "isEmpty", [], "method"falsefalsefalse68)) {
  175.             // line 69
  176.             echo "        ";
  177.             if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'69$this->source); })())) {
  178.                 // line 70
  179.                 echo "            <div class=\"embed-responsive embed-responsive-16by9 header-video\" id=\"holder\">
  180.                 ";
  181.                 // line 71
  182.                 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]]);
  183.                 // line 83
  184.                 echo "
  185.             </div>
  186.             <div class=\"sr-only\">Hier speelt een video waarin De Gemeente Molenlanden wordt getoond.</div>
  187.         ";
  188.             }
  189.             // line 87
  190.             echo "    ";
  191.         } else {
  192.             // line 88
  193.             echo "        <div class=\"sr-only\">Hier staat een foto met omschrijving: ";
  194.             echo twig_escape_filter($this->envtwig_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", [=> "alt"], "method"falsefalsefalse88), "html"nulltrue);
  195.             echo "</div>
  196.     ";
  197.         }
  198.         // line 90
  199.         echo "    ";
  200.         echo twig_include($this->env$context"partials/page-heading.html.twig");
  201.         echo "
  202. </header>
  203. ";
  204.         // line 92
  205.         echo twig_include($this->env$context"partials/navigation.html.twig");
  206.         echo "
  207. <div class=\"main-content\">
  208.     ";
  209.         // line 94
  210.         $this->displayBlock('content'$context$blocks);
  211.         // line 96
  212.         echo "</div>
  213. <footer>
  214.     <div class=\"container\">
  215.         <div class=\"row\">
  216.             <div class=\"col-6 text-center\">
  217.                 <img src=\"";
  218.         // line 102
  219.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/Logo_Molenlanden_HR.png"), "html"nulltrue);
  220.         echo "\" alt=\"Gemeente Molenlanden logo\"
  221.                      class=\"img-fluid\"
  222.                      width=\"60%\"/>
  223.             </div>
  224.             <div class=\"col-6 text-center mt-3\">
  225.                 ";
  226.         // line 108
  227.         $context["linkedinUrl"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("linkedin_url"false);
  228.         // line 109
  229.         echo "                ";
  230.         $context["facebookUrl"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("facebook_url"false);
  231.         // line 110
  232.         echo "                ";
  233.         $context["twitterUrl"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("twitter_url"false);
  234.         // line 111
  235.         echo "                ";
  236.         $context["instagramUrl"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("instagram_url"false);
  237.         // line 112
  238.         echo "                ";
  239.         $context["youtubeUrl"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("youtube_url"false);
  240.         // line 113
  241.         echo "                Vind ons op:
  242.                 ";
  243.         // line 114
  244.         if ((isset($context["linkedinUrl"]) || array_key_exists("linkedinUrl"$context) ? $context["linkedinUrl"] : (function () { throw new RuntimeError('Variable "linkedinUrl" does not exist.'114$this->source); })())) {
  245.             // line 115
  246.             echo "                    &nbsp;<a href=\"";
  247.             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"nulltrue);
  248.             echo "\" target=\"_blank\"
  249.                        title=\"Ga naar onze Linkedin pagina\"><i class=\"fa-2x fab fa-linkedin\"></i></a>&nbsp;
  250.                 ";
  251.         }
  252.         // line 118
  253.         echo "                ";
  254.         if ((isset($context["facebookUrl"]) || array_key_exists("facebookUrl"$context) ? $context["facebookUrl"] : (function () { throw new RuntimeError('Variable "facebookUrl" does not exist.'118$this->source); })())) {
  255.             // line 119
  256.             echo "                    &nbsp;<a href=\"";
  257.             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"nulltrue);
  258.             echo "\" target=\"_blank\"
  259.                              title=\"Ga naar onze Facebook pagina\"><i class=\"fa-2x fab fa-facebook\"></i></a>&nbsp;
  260.                 ";
  261.         }
  262.         // line 122
  263.         echo "                ";
  264.         if ((isset($context["instagramUrl"]) || array_key_exists("instagramUrl"$context) ? $context["instagramUrl"] : (function () { throw new RuntimeError('Variable "instagramUrl" does not exist.'122$this->source); })())) {
  265.             // line 123
  266.             echo "                    &nbsp;<a href=\"";
  267.             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"nulltrue);
  268.             echo "\" target=\"_blank\"
  269.                              title=\"Ga naar onze Instagram\"><i class=\"fa-2x fab fa-instagram\"></i></a>&nbsp;
  270.                 ";
  271.         }
  272.         // line 126
  273.         echo "                ";
  274.         if ((isset($context["twitterUrl"]) || array_key_exists("twitterUrl"$context) ? $context["twitterUrl"] : (function () { throw new RuntimeError('Variable "twitterUrl" does not exist.'126$this->source); })())) {
  275.             // line 127
  276.             echo "                    &nbsp;<a href=\"";
  277.             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"nulltrue);
  278.             echo "\" target=\"_blank\"
  279.                              title=\"Ga naar onze Twitter feed\"><i class=\"fa-2x fab fa-twitter\"></i></a>&nbsp;
  280.                 ";
  281.         }
  282.         // line 130
  283.         echo "                ";
  284.         if ((isset($context["youtubeUrl"]) || array_key_exists("youtubeUrl"$context) ? $context["youtubeUrl"] : (function () { throw new RuntimeError('Variable "youtubeUrl" does not exist.'130$this->source); })())) {
  285.             // line 131
  286.             echo "                    &nbsp;<a href=\"";
  287.             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"nulltrue);
  288.             echo "\" target=\"_blank\"
  289.                              title=\"Ga naar ons Youtube kanaal\"><i class=\"fa-2x fab fa-youtube\"></i></a>&nbsp;
  290.                 ";
  291.         }
  292.         // line 134
  293.         echo "            </div>
  294.         </div>
  295.         <div class=\"row\">
  296.             <div class=\"col-sm-12 text-center\">
  297.                 <div class=\"copyright\">&copy;";
  298.         // line 138
  299.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  300.         echo " Gemeente Molenlanden - Alle rechten voorbehouden
  301.                 </div>
  302.                 <p><a href=\"/privacyverklaring\" title=\"Ga naar privacyverklaring\" target=\"_blank\">Privacyverklaring</a>
  303.                 </p>
  304.             </div>
  305.         </div>
  306.     </div>
  307. </footer>
  308. ";
  309.         // line 146
  310.         $this->displayBlock('layout_scripts'$context$blocks);
  311.         // line 160
  312.         echo "</body>
  313. </html>";
  314.         $this->deferred->resolve($this$context$blocks);
  315.         
  316.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  317.         
  318.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  319.     }
  320.     public function block_layout_head_meta($context, array $blocks = [])
  321.     {
  322.         $this->deferred->defer($this'layout_head_meta');
  323.     }
  324.     // line 37
  325.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  326.     {
  327.         $macros $this->macros;
  328.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  329.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  330.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  331.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  332.         // line 38
  333.         echo "    ";
  334.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  335.         echo "
  336.     ";
  337.         // line 39
  338.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  339.         echo "
  340.     ";
  341.         
  342.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  343.         
  344.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  345.         $this->deferred->resolve($this$context$blocks);
  346.     }
  347.     public function block_layout_head_link($context, array $blocks = [])
  348.     {
  349.         $this->deferred->defer($this'layout_head_link');
  350.     }
  351.     // line 42
  352.     public function block_layout_head_link_deferred($context, array $blocks = [])
  353.     {
  354.         $macros $this->macros;
  355.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  356.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_link"));
  357.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  358.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_link"));
  359.         // line 43
  360.         echo "    <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
  361.     <link href=\"https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;700&display=swap\"
  362.           rel=\"stylesheet\">
  363.     <link rel=\"stylesheet\" href=\"";
  364.         // line 46
  365.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/bootstrap.css"), "html"nulltrue);
  366.         echo "\">
  367.     <link href=\"";
  368.         // line 47
  369.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/video-js.css"), "html"nulltrue);
  370.         echo "\" rel=\"stylesheet\">
  371.     <script src=\"https://kit.fontawesome.com/5be91c17e6.js\" crossorigin=\"anonymous\"></script>
  372.     ";
  373.         // line 49
  374.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  375.         echo "
  376.     ";
  377.         
  378.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  379.         
  380.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  381.         $this->deferred->resolve($this$context$blocks);
  382.     }
  383.     // line 94
  384.     public function block_content($context, array $blocks = [])
  385.     {
  386.         $macros $this->macros;
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  388.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  389.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  390.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  391.         // line 95
  392.         echo "    ";
  393.         
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  395.         
  396.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  397.     }
  398.     public function block_layout_scripts($context, array $blocks = [])
  399.     {
  400.         $this->deferred->defer($this'layout_scripts');
  401.     }
  402.     // line 146
  403.     public function block_layout_scripts_deferred($context, array $blocks = [])
  404.     {
  405.         $macros $this->macros;
  406.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  407.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_scripts"));
  408.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  409.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_scripts"));
  410.         // line 147
  411.         echo "    <script src=\"";
  412.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/jquery.js"), "html"nulltrue);
  413.         echo "\"></script>
  414.     <script src=\"";
  415.         // line 148
  416.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/bootstrap.js"), "html"nulltrue);
  417.         echo "\"></script>
  418. ";
  419.         // line 149
  420.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'149$this->source); })())) {
  421.         }
  422.         // line 151
  423.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  424.         echo "
  425. <script src=\"";
  426.         // line 152
  427.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/video.js"), "html"nulltrue);
  428.         echo "\"></script>
  429. <script>
  430.     \$(window).on('load', function () {
  431.         initSmoothScrolling('.projects-slider.top', 'pstscroll', 6);
  432.         initSmoothScrolling('.projects-slider.bottom', 'pstscroll', 8);
  433.     });
  434. </script>
  435. ";
  436.         
  437.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  438.         
  439.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  440.         $this->deferred->resolve($this$context$blocks);
  441.     }
  442.     public function getTemplateName()
  443.     {
  444.         return "layout.html.twig";
  445.     }
  446.     public function isTraitable()
  447.     {
  448.         return false;
  449.     }
  450.     public function getDebugInfo()
  451.     {
  452.         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,);
  453.     }
  454.     public function getSourceContext()
  455.     {
  456.         return new Source("<!doctype html>
  457. {% if document_id is defined %}
  458.     {% set document = pimcore_document(document_id) %}
  459. {% endif %}
  460. <html lang=\"{{ document.getProperty('language') }}\">
  461. <head>
  462.     <meta charset=\"UTF-8\">
  463.     {% do pimcore_head_meta().appendName(\"viewport\", \"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\") %}
  464.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/icons/apple-touch-icon.png\">
  465.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icons/favicon-32x32.png\">
  466.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icons/favicon-16x16.png\">
  467.     <link rel=\"manifest\" href=\"/icons/manifest.json\">
  468.     <link rel=\"mask-icon\" href=\"/icons/safari-pinned-tab.svg\" color=\"#5bbad5\">
  469.     <link rel=\"shortcut icon\" href=\"/icons/favicon.ico\">
  470.     <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  471.     <meta name=\"msapplication-config\" content=\"/icons/browserconfig.xml\">
  472.     <meta name=\"theme-color\" content=\"#ffffff\">
  473.     {% do pimcore_head_link().appendStylesheet(asset(\"static/css/main.css\")) %}
  474.     {#    {% do pimcore_head_link().appendStylesheet(asset(\"static/css/slider.css\")) %} #}
  475.     {% do pimcore_head_script().appendFile(asset(\"static/js/main.js\")) %}
  476.     {% if not document is defined or not document %}
  477.         {% if document_id is defined %}
  478.             {% set document = pimcore_document(document_id) %}
  479.         {% else %}
  480.             {% set document = pimcore_document(1) %}
  481.         {% endif %}
  482.     {% endif %}
  483.     {% do pimcore_head_title().set(document.getTitle()) %}
  484.     {% do pimcore_head_title().append(\"Gemeente Molenlanden\") %}
  485.     {% do pimcore_head_title().setSeparator(\" : \") %}
  486.     {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  487.     {% block layout_head_meta deferred %}
  488.     {{ pimcore_head_meta() }}
  489.     {{ pimcore_head_title() }}
  490.     {% endblock %}
  491.     {% block layout_head_link deferred %}
  492.     <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
  493.     <link href=\"https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;700&display=swap\"
  494.           rel=\"stylesheet\">
  495.     <link rel=\"stylesheet\" href=\"{{ asset('static/css/bootstrap.css') }}\">
  496.     <link href=\"{{ asset('static/css/video-js.css') }}\" rel=\"stylesheet\">
  497.     <script src=\"https://kit.fontawesome.com/5be91c17e6.js\" crossorigin=\"anonymous\"></script>
  498.     {{ pimcore_head_link() }}
  499.     {% endblock %}
  500.     <title>{{ document.getTitle() }}</title>
  501. </head>
  502. <body>
  503. {% if editmode %}
  504.     {{ pimcore_video(\"headerVideo\") }}
  505. {% endif %}
  506. <header class=\"jumbo-header pt-4 {% if not pimcore_video(\"headerVideo\").isEmpty() %} has-video {% endif %}\"
  507.     {% if pimcore_video(\"headerVideo\").isEmpty() %}
  508.     {% set headerImage = document.getProperty(\"headerImage\") %}
  509.     {% if not headerImage %}
  510.         {% set headerImage = random(headerImages) %}
  511.     {% endif %}
  512.     style=\"{% if headerImage %}background-image: url({{ headerImage.thumbnail(\"headerImage\") }});{% endif %}\"
  513.     {% endif %}>
  514.     {% if not pimcore_video(\"headerVideo\").isEmpty() %}
  515.         {% if not editmode %}
  516.             <div class=\"embed-responsive embed-responsive-16by9 header-video\" id=\"holder\">
  517.                 {{ pimcore_video(\"headerVideo\", {
  518.                     thumbnail: 'headerVideo',
  519.                     height: '100%',
  520.                     attributes: {
  521.                         'class': 'video-js',
  522.                         'controls': false,
  523.                         'autoplay': 'any',
  524.                         'loop': true,
  525.                         'fluid': true,
  526.                         'playsinline': true,
  527.                         'muted': true
  528.                     }
  529.                 }) }}
  530.             </div>
  531.             <div class=\"sr-only\">Hier speelt een video waarin De Gemeente Molenlanden wordt getoond.</div>
  532.         {% endif %}
  533.     {% else %}
  534.         <div class=\"sr-only\">Hier staat een foto met omschrijving: {{ headerImage.getMetadata(\"alt\") }}</div>
  535.     {% endif %}
  536.     {{ include(\"partials/page-heading.html.twig\") }}
  537. </header>
  538. {{ include('partials/navigation.html.twig') }}
  539. <div class=\"main-content\">
  540.     {% block content %}
  541.     {% endblock %}
  542. </div>
  543. <footer>
  544.     <div class=\"container\">
  545.         <div class=\"row\">
  546.             <div class=\"col-6 text-center\">
  547.                 <img src=\"{{ asset(\"static/img/Logo_Molenlanden_HR.png\") }}\" alt=\"Gemeente Molenlanden logo\"
  548.                      class=\"img-fluid\"
  549.                      width=\"60%\"/>
  550.             </div>
  551.             <div class=\"col-6 text-center mt-3\">
  552.                 {% set linkedinUrl = pimcore_website_config('linkedin_url', false) %}
  553.                 {% set facebookUrl = pimcore_website_config('facebook_url', false) %}
  554.                 {% set twitterUrl = pimcore_website_config('twitter_url', false) %}
  555.                 {% set instagramUrl = pimcore_website_config('instagram_url', false) %}
  556.                 {% set youtubeUrl = pimcore_website_config('youtube_url', false) %}
  557.                 Vind ons op:
  558.                 {% if linkedinUrl %}
  559.                     &nbsp;<a href=\"{{ linkedinUrl }}\" target=\"_blank\"
  560.                        title=\"Ga naar onze Linkedin pagina\"><i class=\"fa-2x fab fa-linkedin\"></i></a>&nbsp;
  561.                 {% endif %}
  562.                 {% if facebookUrl %}
  563.                     &nbsp;<a href=\"{{ facebookUrl }}\" target=\"_blank\"
  564.                              title=\"Ga naar onze Facebook pagina\"><i class=\"fa-2x fab fa-facebook\"></i></a>&nbsp;
  565.                 {% endif %}
  566.                 {% if instagramUrl %}
  567.                     &nbsp;<a href=\"{{ instagramUrl }}\" target=\"_blank\"
  568.                              title=\"Ga naar onze Instagram\"><i class=\"fa-2x fab fa-instagram\"></i></a>&nbsp;
  569.                 {% endif %}
  570.                 {% if twitterUrl %}
  571.                     &nbsp;<a href=\"{{ twitterUrl }}\" target=\"_blank\"
  572.                              title=\"Ga naar onze Twitter feed\"><i class=\"fa-2x fab fa-twitter\"></i></a>&nbsp;
  573.                 {% endif %}
  574.                 {% if youtubeUrl %}
  575.                     &nbsp;<a href=\"{{ youtubeUrl }}\" target=\"_blank\"
  576.                              title=\"Ga naar ons Youtube kanaal\"><i class=\"fa-2x fab fa-youtube\"></i></a>&nbsp;
  577.                 {% endif %}
  578.             </div>
  579.         </div>
  580.         <div class=\"row\">
  581.             <div class=\"col-sm-12 text-center\">
  582.                 <div class=\"copyright\">&copy;{{ \"now\"|date(\"Y\") }} Gemeente Molenlanden - Alle rechten voorbehouden
  583.                 </div>
  584.                 <p><a href=\"/privacyverklaring\" title=\"Ga naar privacyverklaring\" target=\"_blank\">Privacyverklaring</a>
  585.                 </p>
  586.             </div>
  587.         </div>
  588.     </div>
  589. </footer>
  590. {% block layout_scripts deferred %}
  591.     <script src=\"{{ asset('static/js/jquery.js') }}\"></script>
  592.     <script src=\"{{ asset('static/js/bootstrap.js') }}\"></script>
  593. {% if not editmode %}
  594. {% endif %}
  595. {{ pimcore_head_script() }}
  596. <script src=\"{{ asset('static/js/video.js') }}\"></script>
  597. <script>
  598.     \$(window).on('load', function () {
  599.         initSmoothScrolling('.projects-slider.top', 'pstscroll', 6);
  600.         initSmoothScrolling('.projects-slider.bottom', 'pstscroll', 8);
  601.     });
  602. </script>
  603. {% endblock %}
  604. </body>
  605. </html>""layout.html.twig""/var/www/dev/templates/layout.html.twig");
  606.     }
  607. }