var/cache/dev/twig/a2/a2bab09faad327a37df0707476e844a5.php line 127

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