<?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/base.html.twig */
class __TwigTemplate_b81ff5c4a828269f291742f9538239cc extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'head_javascript' => [$this, 'block_head_javascript'],
'header' => [$this, 'block_header'],
'main' => [$this, 'block_main'],
'footer' => [$this, 'block_footer'],
'stylesheet' => [$this, 'block_stylesheet'],
'javascript' => [$this, 'block_javascript'],
];
}
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/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Layout/base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html>
<head>
";
// line 4
$this->loadTemplate("@VisualMediaLisa/Layout/meta.html.twig", "Layout/base.html.twig", 4)->display($context);
// line 5
echo "
";
// line 6
if (array_key_exists("canonicalurl", $context)) {
// line 7
echo " <link rel=\"canonical\" href=\"";
echo twig_escape_filter($this->env, (isset($context["canonicalurl"]) || array_key_exists("canonicalurl", $context) ? $context["canonicalurl"] : (function () { throw new RuntimeError('Variable "canonicalurl" does not exist.', 7, $this->source); })()), "html", null, true);
echo "\">
";
}
// line 9
echo "
<link href=\"https://fonts.googleapis.com/css?family=Poppins:400,700&display=swap\" rel=\"stylesheet\">
<script src=\"https://kit.fontawesome.com/e34df74540.js\" crossorigin=\"anonymous\"></script>
";
// line 13
$this->displayBlock('head_javascript', $context, $blocks);
// line 26
echo " </head>
<body>
";
// line 29
if (($this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("cookie_gtm_code", "cookie") != "[cookie:cookie_gtm_code]")) {
// line 30
echo " <!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
// line 31
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("cookie_gtm_code", "cookie"), "html", null, true);
echo "\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
";
}
// line 34
echo "
<div class=\"wrapper\">
";
// line 36
$this->displayBlock('header', $context, $blocks);
// line 39
echo "
<section class=\"main\">
";
// line 41
$this->displayBlock('main', $context, $blocks);
// line 42
echo "
";
// line 43
$this->displayBlock('footer', $context, $blocks);
// line 46
echo " </section>
";
// line 48
if ($this->extensions['VisualMedia\LisaBundle\Twig\TwigBundles']->hasBundle("VisualMediaCookieBundle")) {
// line 49
echo " ";
$this->loadTemplate("@VisualMediaCookie/Cookie/index.html.twig", "Layout/base.html.twig", 49)->display($context);
// line 50
echo " ";
}
// line 51
echo " </div>
";
// line 52
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigAnalytics']->dataLayerPush(), "html", null, true);
echo "
";
// line 53
$this->displayBlock('stylesheet', $context, $blocks);
// line 56
echo " ";
$this->displayBlock('javascript', $context, $blocks);
// line 59
echo " </body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 13
public function block_head_javascript($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_javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_javascript"));
// line 14
echo " ";
if (($this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("cookie_gtm_code", "cookie", true) != "[cookie:cookie_gtm_code]")) {
// line 15
echo " <!-- Google Tag Manager -->
<script>
(function(v,i,s,u,a,l,m,e,d,I,A){v[u]=v[u]||[];v[u].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=i.getElementsByTagName(s)[0],
j=i.createElement(s),dl=u!='dataLayer'?'&l='+u:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+a+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','";
// line 21
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("cookie_gtm_code", "cookie"), "html", null, true);
echo "');
</script>
<!-- End Google Tag Manager -->
";
}
// line 25
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 36
public function block_header($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", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 37
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("VisualMedia\\LisaBundle\\Controller\\LayoutController::headerAction"));
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 41
public function block_main($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", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 43
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 44
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("VisualMedia\\LisaBundle\\Controller\\LayoutController::footerAction"));
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 53
public function block_stylesheet($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", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 54
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 56
public function block_javascript($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", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 57
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Layout/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 279 => 57, 269 => 56, 256 => 54, 246 => 53, 233 => 44, 223 => 43, 205 => 41, 192 => 37, 182 => 36, 172 => 25, 165 => 21, 157 => 15, 154 => 14, 144 => 13, 132 => 59, 129 => 56, 127 => 53, 123 => 52, 120 => 51, 117 => 50, 114 => 49, 112 => 48, 108 => 46, 106 => 43, 103 => 42, 101 => 41, 97 => 39, 95 => 36, 91 => 34, 85 => 31, 82 => 30, 80 => 29, 75 => 26, 73 => 13, 67 => 9, 61 => 7, 59 => 6, 56 => 5, 54 => 4, 49 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html>
<head>
{% include '@VisualMediaLisa/Layout/meta.html.twig' %}
{% if canonicalurl is defined %}
<link rel=\"canonical\" href=\"{{ canonicalurl }}\">
{% endif %}
<link href=\"https://fonts.googleapis.com/css?family=Poppins:400,700&display=swap\" rel=\"stylesheet\">
<script src=\"https://kit.fontawesome.com/e34df74540.js\" crossorigin=\"anonymous\"></script>
{% block head_javascript %}
{% if setting('cookie_gtm_code', 'cookie', true) != '[cookie:cookie_gtm_code]' %}
<!-- Google Tag Manager -->
<script>
(function(v,i,s,u,a,l,m,e,d,I,A){v[u]=v[u]||[];v[u].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=i.getElementsByTagName(s)[0],
j=i.createElement(s),dl=u!='dataLayer'?'&l='+u:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+a+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{{ setting('cookie_gtm_code', 'cookie') }}');
</script>
<!-- End Google Tag Manager -->
{% endif %}
{% endblock %}
</head>
<body>
{% if setting('cookie_gtm_code', 'cookie') != '[cookie:cookie_gtm_code]' %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ setting('cookie_gtm_code', 'cookie') }}\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}
<div class=\"wrapper\">
{% block header %}
{{ render(controller('VisualMedia\\\\LisaBundle\\\\Controller\\\\LayoutController::headerAction')) }}
{% endblock %}
<section class=\"main\">
{% block main %}{% endblock %}
{% block footer %}
{{ render(controller('VisualMedia\\\\LisaBundle\\\\Controller\\\\LayoutController::footerAction')) }}
{% endblock %}
</section>
{% if hasBundle('VisualMediaCookieBundle') %}
{% include '@VisualMediaCookie/Cookie/index.html.twig' %}
{% endif %}
</div>
{{ dataLayerPush() }}
{% block stylesheet %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascript %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</body>
</html>
", "Layout/base.html.twig", "/var/www/public_html/templates/Layout/base.html.twig");
}
}