var/cache/dev/twig/6b/6b6edefdc990e828a056fd0a599d37d2.php line 230

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. /* base.html.twig */
  14. class __TwigTemplate_220caa22650c228407f05685c3914751 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.             'head' => [$this'block_head'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.             'json_schema' => [$this'block_json_schema'],
  28.             'maintenance' => [$this'block_maintenance'],
  29.             'header' => [$this'block_header'],
  30.             'main' => [$this'block_main'],
  31.             'body' => [$this'block_body'],
  32.             'footer' => [$this'block_footer'],
  33.         ];
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  42.         // line 1
  43.         echo "<!DOCTYPE html>
  44. <html lang=\"";
  45.         // line 2
  46.         echo twig_escape_filter($this->env_twig_default_filter($this->extensions['Metabolism\WordpressBundle\Twig\WordpressTwigExtension']->execFunction("get_bloginfo""language"), "es-ES"), "html"nulltrue);
  47.         echo "\">
  48. <head>
  49.     <meta charset=\"UTF-8\">
  50.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  51.     <title>";
  52.         // line 6
  53.         echo (isset($context["wp_title"]) || array_key_exists("wp_title"$context) ? $context["wp_title"] : (function () { throw new RuntimeError('Variable "wp_title" does not exist.'6$this->source); })());
  54.         echo "</title>
  55.     <link rel=\"icon\" href=\"";
  56.         // line 7
  57.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/img/favicon.png"), "html"nulltrue);
  58.         echo "\">
  59.     ";
  60.         // line 8
  61.         echo base64_decode("PCEtLQogICAgICAgICAgIF8gICAgICAgICAgICAgICAgICAKICAgICAgICAgIHwgfCAgICAgICAgICAgICAgICAgCiBfICAgXyAgX198IHwgX19fX18gICBfX19fXyAgIAp8IHwgfCB8LyBfYCB8LyBfIFwgXCAvIC8gX198ICAKfCB8X3wgfCAoX3wgfCAgX18vXCBWIC9cX18gXF8gCiBcX18sIHxcX18sX3xcX19ffCBcXy8gfF9fXyhfKQogIF9fLyB8ICAgICAgICAgICAgICAgICAgICAgICAKIHxfX18vICAgICAgICAgICAgICAgICAgICAgICAgCgpEZXZlbG9wZWQgYnkgeWRldnMuIOKGkiBodHRwczovL3lkZXZzLmNvbQotLT4=");
  62.         echo "
  63.     ";
  64.         // line 9
  65.         $this->displayBlock('head'$context$blocks);
  66.         // line 10
  67.         echo "    ";
  68.         $this->displayBlock('stylesheets'$context$blocks);
  69.         // line 13
  70.         echo "    ";
  71.         $this->displayBlock('javascripts'$context$blocks);
  72.         // line 16
  73.         echo "    ";
  74.         $this->displayBlock('json_schema'$context$blocks);
  75.         // line 17
  76.         echo "</head>
  77. <body class=\"";
  78.         // line 18
  79.         echo twig_escape_filter($this->env, (isset($context["body_class"]) || array_key_exists("body_class"$context) ? $context["body_class"] : (function () { throw new RuntimeError('Variable "body_class" does not exist.'18$this->source); })()), "html"nulltrue);
  80.         echo " ";
  81.         if ($this->extensions['Metabolism\WordpressBundle\Twig\WordpressTwigExtension']->execFunction("is_404")) {
  82.             echo "is-404";
  83.         }
  84.         echo " overflow-x-hidden\">
  85. ";
  86.         // line 19
  87.         if (((array_key_exists("maintenance_mode"$context)) ? (_twig_default_filter((isset($context["maintenance_mode"]) || array_key_exists("maintenance_mode"$context) ? $context["maintenance_mode"] : (function () { throw new RuntimeError('Variable "maintenance_mode" does not exist.'19$this->source); })()))) : (""))) {
  88.             // line 20
  89.             echo "    ";
  90.             $this->displayBlock('maintenance'$context$blocks);
  91.         } else {
  92.             // line 24
  93.             echo "    ";
  94.             $this->displayBlock('header'$context$blocks);
  95.             // line 27
  96.             echo "
  97.     ";
  98.             // line 28
  99.             $this->displayBlock('main'$context$blocks);
  100.             // line 33
  101.             echo "    ";
  102.             $this->displayBlock('footer'$context$blocks);
  103.         }
  104.         // line 38
  105.         echo "</body>
  106. </html>
  107. ";
  108.         
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  110.         
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112.     }
  113.     // line 9
  114.     public function block_head($context, array $blocks = [])
  115.     {
  116.         $macros $this->macros;
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  121.         echo $this->env->getFunction('wp_head')->getCallable()();
  122.         
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  124.         
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  126.     }
  127.     // line 10
  128.     public function block_stylesheets($context, array $blocks = [])
  129.     {
  130.         $macros $this->macros;
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  135.         // line 11
  136.         echo "        ";
  137.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  138.         echo "
  139.     ";
  140.         
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  142.         
  143.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  144.     }
  145.     // line 13
  146.     public function block_javascripts($context, array $blocks = [])
  147.     {
  148.         $macros $this->macros;
  149.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  150.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  151.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  152.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  153.         // line 14
  154.         echo "        ";
  155.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  156.         echo "
  157.     ";
  158.         
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160.         
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162.     }
  163.     // line 16
  164.     public function block_json_schema($context, array $blocks = [])
  165.     {
  166.         $macros $this->macros;
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""json_schema"));
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""json_schema"));
  171.         
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  173.         
  174.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  175.     }
  176.     // line 20
  177.     public function block_maintenance($context, array $blocks = [])
  178.     {
  179.         $macros $this->macros;
  180.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""maintenance"));
  182.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  183.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""maintenance"));
  184.         // line 21
  185.         echo "        <h1>Maintenance</h1>
  186.     ";
  187.         
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  189.         
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  191.     }
  192.     // line 24
  193.     public function block_header($context, array $blocks = [])
  194.     {
  195.         $macros $this->macros;
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  200.         // line 25
  201.         echo "        ";
  202.         $this->loadTemplate("header.html.twig""base.html.twig"25)->display($context);
  203.         // line 26
  204.         echo "    ";
  205.         
  206.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  207.         
  208.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  209.     }
  210.     // line 28
  211.     public function block_main($context, array $blocks = [])
  212.     {
  213.         $macros $this->macros;
  214.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  215.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  216.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  217.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  218.         // line 29
  219.         echo "        <main class=\"max-w-screen-2xl mx-auto px-5 lg:px-20 pt-header\">
  220.             ";
  221.         // line 30
  222.         $this->displayBlock('body'$context$blocks);
  223.         // line 31
  224.         echo "        </main>
  225.     ";
  226.         
  227.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  228.         
  229.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  230.     }
  231.     // line 30
  232.     public function block_body($context, array $blocks = [])
  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.         
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  241.         
  242.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  243.     }
  244.     // line 33
  245.     public function block_footer($context, array $blocks = [])
  246.     {
  247.         $macros $this->macros;
  248.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  249.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  250.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  252.         // line 34
  253.         echo "        ";
  254.         $this->loadTemplate("footer.html.twig""base.html.twig"34)->display($context);
  255.         // line 35
  256.         echo "        ";
  257.         echo $this->env->getFunction('wp_footer')->getCallable()();
  258.         echo "
  259.     ";
  260.         
  261.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  262.         
  263.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  264.     }
  265.     /**
  266.      * @codeCoverageIgnore
  267.      */
  268.     public function getTemplateName()
  269.     {
  270.         return "base.html.twig";
  271.     }
  272.     /**
  273.      * @codeCoverageIgnore
  274.      */
  275.     public function isTraitable()
  276.     {
  277.         return false;
  278.     }
  279.     /**
  280.      * @codeCoverageIgnore
  281.      */
  282.     public function getDebugInfo()
  283.     {
  284.         return array (  310 => 35,  307 => 34,  297 => 33,  279 => 30,  268 => 31,  266 => 30,  263 => 29,  253 => 28,  243 => 26,  240 => 25,  230 => 24,  219 => 21,  209 => 20,  191 => 16,  178 => 14,  168 => 13,  155 => 11,  145 => 10,  126 => 9,  114 => 38,  110 => 33,  108 => 28,  105 => 27,  102 => 24,  98 => 20,  96 => 19,  88 => 18,  85 => 17,  82 => 16,  79 => 13,  76 => 10,  74 => 9,  70 => 8,  66 => 7,  62 => 6,  55 => 2,  52 => 1,);
  285.     }
  286.     public function getSourceContext()
  287.     {
  288.         return new Source("<!DOCTYPE html>
  289. <html lang=\"{{ fn('get_bloginfo','language')|default('es-ES') }}\">
  290. <head>
  291.     <meta charset=\"UTF-8\">
  292.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  293.     <title>{{ wp_title|raw }}</title>
  294.     <link rel=\"icon\" href=\"{{ asset('build/img/favicon.png') }}\">
  295.     {{ base64_decode('PCEtLQogICAgICAgICAgIF8gICAgICAgICAgICAgICAgICAKICAgICAgICAgIHwgfCAgICAgICAgICAgICAgICAgCiBfICAgXyAgX198IHwgX19fX18gICBfX19fXyAgIAp8IHwgfCB8LyBfYCB8LyBfIFwgXCAvIC8gX198ICAKfCB8X3wgfCAoX3wgfCAgX18vXCBWIC9cX18gXF8gCiBcX18sIHxcX18sX3xcX19ffCBcXy8gfF9fXyhfKQogIF9fLyB8ICAgICAgICAgICAgICAgICAgICAgICAKIHxfX18vICAgICAgICAgICAgICAgICAgICAgICAgCgpEZXZlbG9wZWQgYnkgeWRldnMuIOKGkiBodHRwczovL3lkZXZzLmNvbQotLT4=')|raw }}
  296.     {% block head %}{{ wp_head() }}{% endblock head %}
  297.     {% block stylesheets %}
  298.         {{ encore_entry_link_tags('app') }}
  299.     {% endblock %}
  300.     {% block javascripts %}
  301.         {{ encore_entry_script_tags('app') }}
  302.     {% endblock %}
  303.     {% block json_schema %}{% endblock %}
  304. </head>
  305. <body class=\"{{ body_class }} {% if fn('is_404') %}is-404{% endif %} overflow-x-hidden\">
  306. {% if maintenance_mode|default() %}
  307.     {% block maintenance %}
  308.         <h1>Maintenance</h1>
  309.     {% endblock maintenance %}
  310. {% else %}
  311.     {% block header %}
  312.         {% include 'header.html.twig' %}
  313.     {% endblock header %}
  314.     {% block main %}
  315.         <main class=\"max-w-screen-2xl mx-auto px-5 lg:px-20 pt-header\">
  316.             {% block body %}{% endblock %}
  317.         </main>
  318.     {% endblock %}
  319.     {% block footer %}
  320.         {% include 'footer.html.twig' %}
  321.         {{ wp_footer() }}
  322.     {% endblock footer %}
  323. {% endif %}
  324. </body>
  325. </html>
  326. ""base.html.twig""/srv/app/templates/base.html.twig");
  327.     }
  328. }