<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* front/sitemapLinks.html.twig */
class __TwigTemplate_952df8888aa823538d72b6115577a62a02553834b79d31f1af6fae736a037367 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/sitemapLinks.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/sitemapLinks.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "front/sitemapLinks.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 3
echo " ";
$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")]));
// line 9
echo " <section class=\"container pay-70 container-custom\">
<ul>
";
// line 11
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['App\Service\AppService']->getSitemapLinks());
foreach ($context['_seq'] as $context["key"] => $context["link"]) {
// line 12
echo " <li>
<a href=\"";
// line 13
echo twig_escape_filter($this->env, $context["link"], "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["link"], "html", null, true);
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['link'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 16
echo " </ul>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front/sitemapLinks.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 93 => 16, 82 => 13, 79 => 12, 75 => 11, 71 => 9, 68 => 3, 58 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block body %}
{% include \"front/header.html.twig\" with {
'icon':asset(\"assets/img/posico.svg\"),
\"img\":asset(\"assets/img/posbg.png\"),
\"title\":(\"sitemap.header.title\"|trans),
\"intro\":(\"sitemap.header.intro\"|trans),
} %}
<section class=\"container pay-70 container-custom\">
<ul>
{% for key, link in getSitemapLinks() %}
<li>
<a href=\"{{ link }}\">{{ link }}</a>
</li>
{% endfor %}
</ul>
</section>
{% endblock %}
", "front/sitemapLinks.html.twig", "/home/hlcdisb/www/facomia_dev/templates/front/sitemapLinks.html.twig");
}
}