<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* themes/theme/base.html.twig */
class __TwigTemplate_227a124869ae29d0cb91e04167172273 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $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 = []): iterable
{
$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", "themes/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", "themes/theme/base.html.twig"));
// line 1
yield "<!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
yield from $this->unwrap()->yieldBlock('metatitle', $context, $blocks);
yield " | ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((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);
yield "</title>
<meta name=\"robots\" content=\"index,follow\">
<meta name=\"description\" content=\"";
// line 8
yield from $this->unwrap()->yieldBlock('metadescription', $context, $blocks);
yield "\">
<meta name=\"format-detection\" content=\"telephone=no\">
";
// line 12
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
yield "
";
// line 13
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 14
yield " <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
yield " ";
yield from $this->load("@theme/common/og.html.twig", 23)->unwrap()->yield($context);
// line 24
yield "
";
// line 26
yield " ";
yield from $this->load("@theme/common/icons.html.twig", 26)->unwrap()->yield($context);
// line 27
yield "
";
// line 29
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
yield "
";
// line 30
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 31
yield "
";
// line 33
yield " ";
// line 38
yield " </head>
";
// line 46
yield " <body data-env=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 46, $this->source); })()), "environment", [], "any", false, false, false, 46), "html", null, true);
yield "\" data-gtmcode=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["gtm_code"]) || array_key_exists("gtm_code", $context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.', 46, $this->source); })()), "html", null, true);
yield "\" ";
yield from $this->unwrap()->yieldBlock('bodyattributes', $context, $blocks);
yield ">
";
// line 48
yield "
";
// line 50
yield " ";
yield from $this->load("@theme/common/site-header.html.twig", 50)->unwrap()->yield($context);
// line 51
yield " ";
yield from $this->load("@theme/common/alert-notifications.html.twig", 51)->unwrap()->yield($context);
// line 52
yield "
";
// line 54
yield " ";
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
// line 55
yield "
";
// line 57
yield " ";
yield from $this->load("@theme/common/site-footer.html.twig", 57)->unwrap()->yield($context);
// line 58
yield " ";
yield from $this->load("@theme/common/consent.html.twig", 58)->unwrap()->yield($context);
// line 59
yield "
";
// line 61
yield " ";
// line 65
yield "
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 6
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metatitle(array $context, array $blocks = []): iterable
{
$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);
yield from [];
}
// line 8
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metadescription(array $context, array $blocks = []): iterable
{
$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);
yield from [];
}
// line 13
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$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);
yield from [];
}
// line 30
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$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);
yield from [];
}
// line 46
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_bodyattributes(array $context, array $blocks = []): iterable
{
$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);
yield from [];
}
// line 54
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$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);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themes/theme/base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 281 => 54, 259 => 46, 237 => 30, 215 => 13, 193 => 8, 171 => 6, 157 => 65, 155 => 61, 152 => 59, 149 => 58, 146 => 57, 143 => 55, 140 => 54, 137 => 52, 134 => 51, 131 => 50, 128 => 48, 119 => 46, 115 => 38, 113 => 33, 110 => 31, 108 => 30, 103 => 29, 100 => 27, 97 => 26, 94 => 24, 91 => 23, 81 => 14, 79 => 13, 74 => 12, 68 => 8, 61 => 6, 54 => 1,);
}
public function getSourceContext(): Source
{
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 %}
#}
</head>
{#
{% if is_granted('ROLE_CMS_ACCESS') %}
<body class=\"skin-blue sidebar-collapse sidebar-mini\">
{{ render(controller('App\\\\Controller\\\\AdminDefaultController::showAdminHeader')) }}
{% else %}
#}
<body data-env=\"{{ app.environment }}\" data-gtmcode=\"{{ gtm_code }}\" {% block bodyattributes %}{% endblock %}>
{#{% 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>
", "themes/theme/base.html.twig", "/var/www/html/k/kasscaffolding/templates/themes/theme/base.html.twig");
}
}