<?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;
/* @theme/base.html.twig */
class __TwigTemplate_85b74497cfb2a49e6a968961d3a53ccd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'metatitle' => [$this, 'block_metatitle'],
'metadescription' => [$this, 'block_metadescription'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'bodyattributes' => [$this, 'block_bodyattributes'],
'body' => [$this, 'block_body'],
];
}
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", "@theme/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", "@theme/base.html.twig"));
// line 1
echo "<!doctype html>
<html class=\"no-js\" lang=\"en\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<title>";
// line 6
$this->displayBlock('metatitle', $context, $blocks);
echo " | ";
echo twig_escape_filter($this->env, (isset($context["sitename"]) || array_key_exists("sitename", $context) ? $context["sitename"] : (function () { throw new RuntimeError('Variable "sitename" does not exist.', 6, $this->source); })()), "html", null, true);
echo "</title>
<meta name=\"robots\" content=\"index,follow\">
<meta name=\"description\" content=\"";
// line 8
$this->displayBlock('metadescription', $context, $blocks);
echo "\">
<meta name=\"format-detection\" content=\"telephone=no\">
";
// line 12
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
// line 13
$this->displayBlock('stylesheets', $context, $blocks);
// line 14
echo " <script src=\"https://kit.fontawesome.com/eace9dba9c.js\" crossorigin=\"anonymous\" defer></script>
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link rel=\"preload\" href=\"https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap\" onload=\"this.onload=null;this.rel='stylesheet';this.removeAttribute('as')\" as=\"style\">
<noscript>
<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap\">
</noscript>
";
// line 23
echo " ";
$this->loadTemplate("@theme/common/og.html.twig", "@theme/base.html.twig", 23)->display($context);
// line 24
echo "
";
// line 26
echo " ";
$this->loadTemplate("@theme/common/icons.html.twig", "@theme/base.html.twig", 26)->display($context);
// line 27
echo "
";
// line 29
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
// line 30
$this->displayBlock('javascripts', $context, $blocks);
// line 31
echo "
";
// line 33
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CMS_ACCESS")) {
// line 34
echo " ";
$this->loadTemplate("Widgets/admin-css-imports.html.twig", "@theme/base.html.twig", 34)->display($context);
// line 35
echo " ";
}
// line 36
echo "
";
// line 37
if ((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.', 37, $this->source); })()), "environment", [], "any", false, false, false, 37) != "dev")) {
// line 38
echo " ";
// line 39
echo " <script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','";
// line 44
echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code", $context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.', 44, $this->source); })()), "html", null, true);
echo "');
</script>
";
}
// line 47
echo " </head>
";
// line 49
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CMS_ACCESS")) {
// line 50
echo " <body class=\"skin-blue sidebar-collapse sidebar-mini\">
";
// line 51
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\AdminDefaultController::showAdminHeader"));
echo "
";
} else {
// line 53
echo " <body ";
$this->displayBlock('bodyattributes', $context, $blocks);
echo ">
";
}
// line 55
echo " ";
if ((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.', 55, $this->source); })()), "environment", [], "any", false, false, false, 55) != "dev")) {
// line 56
echo " ";
// line 57
echo " <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code", $context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.', 57, $this->source); })()), "html", null, true);
echo "\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
";
}
// line 60
echo "
";
// line 62
echo " ";
$this->loadTemplate("@theme/common/site-header.html.twig", "@theme/base.html.twig", 62)->display($context);
// line 63
echo " ";
$this->loadTemplate("@theme/common/alert-notifications.html.twig", "@theme/base.html.twig", 63)->display($context);
// line 64
echo "
";
// line 66
echo " ";
$this->displayBlock('body', $context, $blocks);
// line 67
echo "
";
// line 69
echo " ";
$this->loadTemplate("@theme/common/site-footer.html.twig", "@theme/base.html.twig", 69)->display($context);
// line 70
echo " ";
$this->loadTemplate("@theme/common/consent.html.twig", "@theme/base.html.twig", 70)->display($context);
// line 71
echo "
";
// line 73
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/js/modernizr-3.5.0.min.js"), "html", null, true);
echo "\" defer></script>
<script src=\"https://code.jquery.com/jquery-1.12.4.min.js\" integrity=\"sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=\" crossorigin=\"anonymous\" async defer></script>
";
// line 75
$this->loadTemplate("Widgets/admin-js-imports.html.twig", "@theme/base.html.twig", 75)->display($context);
// line 76
echo "
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 6
public function block_metatitle($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", "metatitle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatitle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
public function block_metadescription($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", "metadescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 13
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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 30
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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 53
public function block_bodyattributes($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", "bodyattributes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyattributes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 66
public function block_body($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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@theme/base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 307 => 66, 289 => 53, 271 => 30, 253 => 13, 235 => 8, 217 => 6, 204 => 76, 202 => 75, 196 => 73, 193 => 71, 190 => 70, 187 => 69, 184 => 67, 181 => 66, 178 => 64, 175 => 63, 172 => 62, 169 => 60, 162 => 57, 160 => 56, 157 => 55, 151 => 53, 146 => 51, 143 => 50, 141 => 49, 137 => 47, 131 => 44, 124 => 39, 122 => 38, 120 => 37, 117 => 36, 114 => 35, 111 => 34, 108 => 33, 105 => 31, 103 => 30, 98 => 29, 95 => 27, 92 => 26, 89 => 24, 86 => 23, 76 => 14, 74 => 13, 69 => 12, 63 => 8, 56 => 6, 49 => 1,);
}
public function getSourceContext()
{
return new Source("<!doctype html>
<html class=\"no-js\" lang=\"en\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<title>{% block metatitle %}{% endblock %} | {{ sitename }}</title>
<meta name=\"robots\" content=\"index,follow\">
<meta name=\"description\" content=\"{% block metadescription %}{% endblock %}\">
<meta name=\"format-detection\" content=\"telephone=no\">
{# WEBPACK COMPILED CSS #}
{{ encore_entry_link_tags('app') }}
{% block stylesheets %}{% endblock %}
<script src=\"https://kit.fontawesome.com/eace9dba9c.js\" crossorigin=\"anonymous\" defer></script>
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link rel=\"preload\" href=\"https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap\" onload=\"this.onload=null;this.rel='stylesheet';this.removeAttribute('as')\" as=\"style\">
<noscript>
<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap\">
</noscript>
{# OPENGRAPH #}
{% include '@theme/common/og.html.twig' %}
{# FAVICONS #}
{% include '@theme/common/icons.html.twig' %}
{# WEBPACK COMPILED JS - USES DEFER #}
{{ encore_entry_script_tags('app') }}
{% block javascripts %}{% endblock %}
{# ADMIN ONLY CSS FILES MERGED INTO SINGLE INCLUDE FILE #}
{% if is_granted('ROLE_CMS_ACCESS') %}
{% include 'Widgets/admin-css-imports.html.twig' %}
{% endif %}
{% if app.environment != 'dev' %}
{# GOOGLE TAG MANAGER #}
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{{ gtm_code }}');
</script>
{% endif %}
</head>
{% if is_granted('ROLE_CMS_ACCESS') %}
<body class=\"skin-blue sidebar-collapse sidebar-mini\">
{{ render(controller('App\\\\Controller\\\\AdminDefaultController::showAdminHeader')) }}
{% else %}
<body {% block bodyattributes %}{% endblock %}>
{% endif %}
{% if app.environment != 'dev' %}
{# GOOGLE TAG MANAGER #}
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ gtm_code }}\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
{% endif %}
{# HEADER #}
{% include '@theme/common/site-header.html.twig' %}
{% include '@theme/common/alert-notifications.html.twig' %}
{# CONTENT #}
{% block body %}{% endblock %}
{# FOOTER #}
{% include '@theme/common/site-footer.html.twig' %}
{% include \"@theme/common/consent.html.twig\" %}
{# SCRIPTS #}
<script src=\"{{ asset('/js/modernizr-3.5.0.min.js')}}\" defer></script>
<script src=\"https://code.jquery.com/jquery-1.12.4.min.js\" integrity=\"sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=\" crossorigin=\"anonymous\" async defer></script>
{% include 'Widgets/admin-js-imports.html.twig' %}
</body>
</html>
", "@theme/base.html.twig", "/var/www/html/k/kasscaffolding/templates/themes/theme/base.html.twig");
}
}