var/cache/dev/twig/b5/b502944d4c298c0fbbbd4f0347f14197.php line 141

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* themes/theme/base.html.twig */
  16. class __TwigTemplate_227a124869ae29d0cb91e04167172273 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->parent = false;
  28. $this->blocks = [
  29. 'metatitle' => [$this, 'block_metatitle'],
  30. 'metadescription' => [$this, 'block_metadescription'],
  31. 'stylesheets' => [$this, 'block_stylesheets'],
  32. 'javascripts' => [$this, 'block_javascripts'],
  33. 'bodyattributes' => [$this, 'block_bodyattributes'],
  34. 'body' => [$this, 'block_body'],
  35. ];
  36. }
  37. protected function doDisplay(array $context, array $blocks = []): iterable
  38. {
  39. $macros = $this->macros;
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/base.html.twig"));
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/base.html.twig"));
  44. // line 1
  45. yield "<!doctype html>
  46. <html class=\"no-js\" lang=\"en\">
  47. <head>
  48. <meta charset=\"utf-8\">
  49. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  50. <title>";
  51. // line 6
  52. yield from $this->unwrap()->yieldBlock('metatitle', $context, $blocks);
  53. yield " | ";
  54. 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);
  55. yield "</title>
  56. <meta name=\"robots\" content=\"index,follow\">
  57. <meta name=\"description\" content=\"";
  58. // line 8
  59. yield from $this->unwrap()->yieldBlock('metadescription', $context, $blocks);
  60. yield "\">
  61. <meta name=\"format-detection\" content=\"telephone=no\">
  62. ";
  63. // line 12
  64. yield " ";
  65. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  66. yield "
  67. ";
  68. // line 13
  69. yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
  70. // line 14
  71. yield " <script src=\"https://kit.fontawesome.com/eace9dba9c.js\" crossorigin=\"anonymous\" defer></script>
  72. <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  73. <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  74. <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\">
  75. <noscript>
  76. <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap\">
  77. </noscript>
  78. ";
  79. // line 23
  80. yield " ";
  81. yield from $this->load("@theme/common/og.html.twig", 23)->unwrap()->yield($context);
  82. // line 24
  83. yield "
  84. ";
  85. // line 26
  86. yield " ";
  87. yield from $this->load("@theme/common/icons.html.twig", 26)->unwrap()->yield($context);
  88. // line 27
  89. yield "
  90. ";
  91. // line 29
  92. yield " ";
  93. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  94. yield "
  95. ";
  96. // line 30
  97. yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  98. // line 31
  99. yield "
  100. ";
  101. // line 33
  102. yield " ";
  103. // line 38
  104. yield " </head>
  105. ";
  106. // line 46
  107. yield " <body data-env=\"";
  108. 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);
  109. yield "\" data-gtmcode=\"";
  110. 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);
  111. yield "\" ";
  112. yield from $this->unwrap()->yieldBlock('bodyattributes', $context, $blocks);
  113. yield ">
  114. ";
  115. // line 48
  116. yield "
  117. ";
  118. // line 50
  119. yield " ";
  120. yield from $this->load("@theme/common/site-header.html.twig", 50)->unwrap()->yield($context);
  121. // line 51
  122. yield " ";
  123. yield from $this->load("@theme/common/alert-notifications.html.twig", 51)->unwrap()->yield($context);
  124. // line 52
  125. yield "
  126. ";
  127. // line 54
  128. yield " ";
  129. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  130. // line 55
  131. yield "
  132. ";
  133. // line 57
  134. yield " ";
  135. yield from $this->load("@theme/common/site-footer.html.twig", 57)->unwrap()->yield($context);
  136. // line 58
  137. yield " ";
  138. yield from $this->load("@theme/common/consent.html.twig", 58)->unwrap()->yield($context);
  139. // line 59
  140. yield "
  141. ";
  142. // line 61
  143. yield " ";
  144. // line 65
  145. yield "
  146. </body>
  147. </html>
  148. ";
  149. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  150. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151. yield from [];
  152. }
  153. // line 6
  154. /**
  155. * @return iterable<null|scalar|\Stringable>
  156. */
  157. public function block_metatitle(array $context, array $blocks = []): iterable
  158. {
  159. $macros = $this->macros;
  160. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  161. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatitle"));
  162. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  163. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatitle"));
  164. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  165. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  166. yield from [];
  167. }
  168. // line 8
  169. /**
  170. * @return iterable<null|scalar|\Stringable>
  171. */
  172. public function block_metadescription(array $context, array $blocks = []): iterable
  173. {
  174. $macros = $this->macros;
  175. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  176. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));
  177. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  178. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));
  179. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  180. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  181. yield from [];
  182. }
  183. // line 13
  184. /**
  185. * @return iterable<null|scalar|\Stringable>
  186. */
  187. public function block_stylesheets(array $context, array $blocks = []): iterable
  188. {
  189. $macros = $this->macros;
  190. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  191. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  192. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  193. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  194. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  195. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  196. yield from [];
  197. }
  198. // line 30
  199. /**
  200. * @return iterable<null|scalar|\Stringable>
  201. */
  202. public function block_javascripts(array $context, array $blocks = []): iterable
  203. {
  204. $macros = $this->macros;
  205. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  206. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  207. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  208. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  209. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  210. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  211. yield from [];
  212. }
  213. // line 46
  214. /**
  215. * @return iterable<null|scalar|\Stringable>
  216. */
  217. public function block_bodyattributes(array $context, array $blocks = []): iterable
  218. {
  219. $macros = $this->macros;
  220. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  221. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyattributes"));
  222. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  223. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyattributes"));
  224. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  225. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  226. yield from [];
  227. }
  228. // line 54
  229. /**
  230. * @return iterable<null|scalar|\Stringable>
  231. */
  232. public function block_body(array $context, array $blocks = []): iterable
  233. {
  234. $macros = $this->macros;
  235. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  237. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  238. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  239. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  240. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  241. yield from [];
  242. }
  243. /**
  244. * @codeCoverageIgnore
  245. */
  246. public function getTemplateName(): string
  247. {
  248. return "themes/theme/base.html.twig";
  249. }
  250. /**
  251. * @codeCoverageIgnore
  252. */
  253. public function isTraitable(): bool
  254. {
  255. return false;
  256. }
  257. /**
  258. * @codeCoverageIgnore
  259. */
  260. public function getDebugInfo(): array
  261. {
  262. 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,);
  263. }
  264. public function getSourceContext(): Source
  265. {
  266. return new Source("<!doctype html>
  267. <html class=\"no-js\" lang=\"en\">
  268. <head>
  269. <meta charset=\"utf-8\">
  270. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  271. <title>{% block metatitle %}{% endblock %} | {{ sitename }}</title>
  272. <meta name=\"robots\" content=\"index,follow\">
  273. <meta name=\"description\" content=\"{% block metadescription %}{% endblock %}\">
  274. <meta name=\"format-detection\" content=\"telephone=no\">
  275. {# WEBPACK COMPILED CSS #}
  276. {{ encore_entry_link_tags('app') }}
  277. {% block stylesheets %}{% endblock %}
  278. <script src=\"https://kit.fontawesome.com/eace9dba9c.js\" crossorigin=\"anonymous\" defer></script>
  279. <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  280. <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  281. <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\">
  282. <noscript>
  283. <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap\">
  284. </noscript>
  285. {# OPENGRAPH #}
  286. {% include '@theme/common/og.html.twig' %}
  287. {# FAVICONS #}
  288. {% include '@theme/common/icons.html.twig' %}
  289. {# WEBPACK COMPILED JS - USES DEFER #}
  290. {{ encore_entry_script_tags('app') }}
  291. {% block javascripts %}{% endblock %}
  292. {# ADMIN ONLY CSS FILES MERGED INTO SINGLE INCLUDE FILE #}
  293. {#
  294. {% if is_granted('ROLE_CMS_ACCESS') %}
  295. {% include 'Widgets/admin-css-imports.html.twig' %}
  296. {% endif %}
  297. #}
  298. </head>
  299. {#
  300. {% if is_granted('ROLE_CMS_ACCESS') %}
  301. <body class=\"skin-blue sidebar-collapse sidebar-mini\">
  302. {{ render(controller('App\\\\Controller\\\\AdminDefaultController::showAdminHeader')) }}
  303. {% else %}
  304. #}
  305. <body data-env=\"{{ app.environment }}\" data-gtmcode=\"{{ gtm_code }}\" {% block bodyattributes %}{% endblock %}>
  306. {#{% endif %}#}
  307. {# HEADER #}
  308. {% include '@theme/common/site-header.html.twig' %}
  309. {% include '@theme/common/alert-notifications.html.twig' %}
  310. {# CONTENT #}
  311. {% block body %}{% endblock %}
  312. {# FOOTER #}
  313. {% include '@theme/common/site-footer.html.twig' %}
  314. {% include \"@theme/common/consent.html.twig\" %}
  315. {# SCRIPTS #}
  316. {#
  317. <script src=\"{{ asset('/js/modernizr-3.5.0.min.js')}}\" defer></script>
  318. <script src=\"https://code.jquery.com/jquery-1.12.4.min.js\" integrity=\"sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=\" crossorigin=\"anonymous\" async defer></script>
  319. {% include 'Widgets/admin-js-imports.html.twig' %} #}
  320. </body>
  321. </html>
  322. ", "themes/theme/base.html.twig", "/var/www/html/k/kasscaffolding/templates/themes/theme/base.html.twig");
  323. }
  324. }