var/cache/dev/twig/4b/4b510a995d944cfff65d137b50a2d792fe2a374241e3ec732a8d951c21826577.php line 48

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. /* front/sitemapLinks.html.twig */
  14. class __TwigTemplate_952df8888aa823538d72b6115577a62a02553834b79d31f1af6fae736a037367 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->blocks = [
  23.             'body' => [$this'block_body'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/sitemapLinks.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/sitemapLinks.html.twig"));
  38.         $this->parent $this->loadTemplate("base.html.twig""front/sitemapLinks.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 2
  46.     public function block_body($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  53.         // line 3
  54.         echo "    ";
  55.         $this->loadTemplate("front/header.html.twig""front/sitemapLinks.html.twig"3)->display(twig_array_merge($context, ["icon" => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/posico.svg"), "img" => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/posbg.png"), "title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sitemap.header.title"), "intro" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sitemap.header.intro")]));
  56.         // line 9
  57.         echo "    <section class=\"container pay-70 container-custom\">
  58.         <ul>
  59.             ";
  60.         // line 11
  61.         $context['_parent'] = $context;
  62.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Service\AppService']->getSitemapLinks());
  63.         foreach ($context['_seq'] as $context["key"] => $context["link"]) {
  64.             // line 12
  65.             echo "                <li>
  66.                     <a href=\"";
  67.             // line 13
  68.             echo twig_escape_filter($this->env$context["link"], "html"nulltrue);
  69.             echo "\">";
  70.             echo twig_escape_filter($this->env$context["link"], "html"nulltrue);
  71.             echo "</a>
  72.                 </li>
  73.             ";
  74.         }
  75.         $_parent $context['_parent'];
  76.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['link'], $context['_parent'], $context['loop']);
  77.         $context array_intersect_key($context$_parent) + $_parent;
  78.         // line 16
  79.         echo "        </ul>
  80.     </section>
  81. ";
  82.         
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  84.         
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  86.     }
  87.     public function getTemplateName()
  88.     {
  89.         return "front/sitemapLinks.html.twig";
  90.     }
  91.     public function isTraitable()
  92.     {
  93.         return false;
  94.     }
  95.     public function getDebugInfo()
  96.     {
  97.         return array (  93 => 16,  82 => 13,  79 => 12,  75 => 11,  71 => 9,  68 => 3,  58 => 2,  35 => 1,);
  98.     }
  99.     public function getSourceContext()
  100.     {
  101.         return new Source("{% extends \"base.html.twig\" %}
  102. {% block body %}
  103.     {% include \"front/header.html.twig\" with {
  104.         'icon':asset(\"assets/img/posico.svg\"),
  105.         \"img\":asset(\"assets/img/posbg.png\"),
  106.         \"title\":(\"sitemap.header.title\"|trans),
  107.         \"intro\":(\"sitemap.header.intro\"|trans),
  108.     } %}
  109.     <section class=\"container pay-70 container-custom\">
  110.         <ul>
  111.             {% for key, link in getSitemapLinks() %}
  112.                 <li>
  113.                     <a href=\"{{ link }}\">{{ link }}</a>
  114.                 </li>
  115.             {% endfor %}
  116.         </ul>
  117.     </section>
  118. {% endblock %}
  119. ""front/sitemapLinks.html.twig""/home/hlcdisb/www/facomia_dev/templates/front/sitemapLinks.html.twig");
  120.     }
  121. }