<?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;
/* Frontend/news/news_by_categ.html.twig */
class __TwigTemplate_99d5ccf48495dc73c7851629e67da4dacef8ca9fc16ef2562b0faa05e2f49ded extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "Frontend/layout.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", "Frontend/news/news_by_categ.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/news/news_by_categ.html.twig"));
$this->parent = $this->loadTemplate("Frontend/layout.html.twig", "Frontend/news/news_by_categ.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 3
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo " ";
echo " ";
// line 5
echo " <section id=\"news\">
<!-- CATEGORY TABS -->
<article>
<div class=\"grid-container\">
<div class=\"tabs-content\" data-tabs-content=\"news-tabs\">
<div class=\"tabs-panel is-active\" id=\"all\">
<aside class=\"listado\">
<header>
<h1>";
// line 13
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 13, $this->source); })()), "translations", [], "any", false, false, false, 13), 0, [], "array", false, false, false, 13), "getName", [], "method", false, false, false, 13), "html", null, true);
echo "</h1>
</header>
<div class=\"grid-x grid-margin-x grid-margin-y\">
";
// line 16
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 16, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["new"]) {
// line 17
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["new"], "id", [], "any", false, false, false, 17), (isset($context["news_for_china_only"]) || array_key_exists("news_for_china_only", $context) ? $context["news_for_china_only"] : (function () { throw new RuntimeError('Variable "news_for_china_only" does not exist.', 17, $this->source); })())))) {
// line 18
echo " ";
if ( !twig_test_empty((isset($context["fromChina"]) || array_key_exists("fromChina", $context) ? $context["fromChina"] : (function () { throw new RuntimeError('Variable "fromChina" does not exist.', 18, $this->source); })()))) {
// line 19
echo " <div class=\"cell small-12 medium-6 large-4\">
";
// line 20
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, true, false, 20), 0, [], "array", false, true, false, 20), "getTitle", [], "method", true, true, false, 20)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, true, false, 20), 0, [], "array", false, true, false, 20), "getTitle", [], "method", false, false, false, 20))) : (""))) {
// line 21
echo " ";
$context["newsPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("new", ["seoSlug" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, false, false, 21), 0, [], "array", false, false, false, 21), "getTitle", [], "method", false, false, false, 21)), "id" => twig_get_attribute($this->env, $this->source, $context["new"], "getId", [], "method", false, false, false, 21)]);
// line 22
echo " ";
} else {
// line 23
echo " ";
$context["newsPath"] = "";
// line 24
echo " ";
}
// line 25
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "images", [], "any", false, true, false, 25), 0, [], "array", true, true, false, 25)) {
// line 26
echo " ";
$context["imgPath"] = ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH", $context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.', 26, $this->source); })()) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "images", [], "any", false, false, false, 26), 0, [], "array", false, false, false, 26), "section", [], "any", false, false, false, 26)) . "/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "images", [], "any", false, false, false, 26), 0, [], "array", false, false, false, 26), "itemId", [], "any", false, false, false, 26)) . "/resized/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "images", [], "any", false, false, false, 26), 0, [], "array", false, false, false, 26), "id", [], "any", false, false, false, 26)) . "_backendGallery.") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "images", [], "any", false, false, false, 26), 0, [], "array", false, false, false, 26), "extension", [], "any", false, false, false, 26));
// line 27
echo " ";
} else {
// line 28
echo " ";
$context["imgPath"] = "";
// line 29
echo " ";
}
// line 30
echo " <figure>
<a href=\"";
// line 31
echo twig_escape_filter($this->env, (isset($context["newsPath"]) || array_key_exists("newsPath", $context) ? $context["newsPath"] : (function () { throw new RuntimeError('Variable "newsPath" does not exist.', 31, $this->source); })()), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, false, false, 31), 0, [], "array", false, false, false, 31), "getTitle", [], "method", false, false, false, 31), "html", null, true);
echo "\"><img src=\"";
echo twig_escape_filter($this->env, (isset($context["imgPath"]) || array_key_exists("imgPath", $context) ? $context["imgPath"] : (function () { throw new RuntimeError('Variable "imgPath" does not exist.', 31, $this->source); })()), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, false, false, 31), 0, [], "array", false, false, false, 31), "getTitle", [], "method", false, false, false, 31), "html", null, true);
echo "\" /></a>
</figure>
<div>
<h3><a href=\"";
// line 34
echo twig_escape_filter($this->env, (isset($context["newsPath"]) || array_key_exists("newsPath", $context) ? $context["newsPath"] : (function () { throw new RuntimeError('Variable "newsPath" does not exist.', 34, $this->source); })()), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, false, false, 34), 0, [], "array", false, false, false, 34), "getTitle", [], "method", false, false, false, 34), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, false, false, 34), 0, [], "array", false, false, false, 34), "getTitle", [], "method", false, false, false, 34), "html", null, true);
echo "</a></h3>
";
// line 35
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["new"], "getCategories", [], "method", false, false, false, 35));
foreach ($context['_seq'] as $context["_key"] => $context["categ"]) {
// line 36
echo " ";
// line 37
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["categ"], "getTranslations", [], "method", false, false, false, 37), 0, [], "array", false, false, false, 37), "getName", [], "method", false, false, false, 37)), "id" => twig_get_attribute($this->env, $this->source, $context["categ"], "getId", [], "method", false, false, false, 37)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["categ"], "getTranslations", [], "any", false, false, false, 37), 0, [], "array", false, false, false, 37), "getName", [], "method", false, false, false, 37), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categ'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 39
echo " <span>";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["new"], "publicationDate", [], "any", false, false, false, 39), "d/m/Y"), "html", null, true);
echo "</span>
</div>
</div>
";
}
// line 43
echo " ";
} else {
// line 44
echo " <div class=\"cell small-12 medium-6 large-4\">
";
// line 45
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, true, false, 45), 0, [], "array", false, true, false, 45), "getTitle", [], "method", true, true, false, 45)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, true, false, 45), 0, [], "array", false, true, false, 45), "getTitle", [], "method", false, false, false, 45))) : (""))) {
// line 46
echo " ";
$context["newsPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("new", ["seoSlug" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, false, false, 46), 0, [], "array", false, false, false, 46), "getTitle", [], "method", false, false, false, 46)), "id" => twig_get_attribute($this->env, $this->source, $context["new"], "getId", [], "method", false, false, false, 46)]);
// line 47
echo " ";
} else {
// line 48
echo " ";
$context["newsPath"] = "";
// line 49
echo " ";
}
// line 50
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "images", [], "any", false, true, false, 50), 0, [], "array", true, true, false, 50)) {
// line 51
echo " ";
$context["imgPath"] = ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH", $context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.', 51, $this->source); })()) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "images", [], "any", false, false, false, 51), 0, [], "array", false, false, false, 51), "section", [], "any", false, false, false, 51)) . "/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "images", [], "any", false, false, false, 51), 0, [], "array", false, false, false, 51), "itemId", [], "any", false, false, false, 51)) . "/resized/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "images", [], "any", false, false, false, 51), 0, [], "array", false, false, false, 51), "id", [], "any", false, false, false, 51)) . "_backendGallery.") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "images", [], "any", false, false, false, 51), 0, [], "array", false, false, false, 51), "extension", [], "any", false, false, false, 51));
// line 52
echo " ";
} else {
// line 53
echo " ";
$context["imgPath"] = "";
// line 54
echo " ";
}
// line 55
echo " <figure>
<a href=\"";
// line 56
echo twig_escape_filter($this->env, (isset($context["newsPath"]) || array_key_exists("newsPath", $context) ? $context["newsPath"] : (function () { throw new RuntimeError('Variable "newsPath" does not exist.', 56, $this->source); })()), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, false, false, 56), 0, [], "array", false, false, false, 56), "getTitle", [], "method", false, false, false, 56), "html", null, true);
echo "\"><img src=\"";
echo twig_escape_filter($this->env, (isset($context["imgPath"]) || array_key_exists("imgPath", $context) ? $context["imgPath"] : (function () { throw new RuntimeError('Variable "imgPath" does not exist.', 56, $this->source); })()), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, false, false, 56), 0, [], "array", false, false, false, 56), "getTitle", [], "method", false, false, false, 56), "html", null, true);
echo "\" /></a>
</figure>
<div>
<h3><a href=\"";
// line 59
echo twig_escape_filter($this->env, (isset($context["newsPath"]) || array_key_exists("newsPath", $context) ? $context["newsPath"] : (function () { throw new RuntimeError('Variable "newsPath" does not exist.', 59, $this->source); })()), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, false, false, 59), 0, [], "array", false, false, false, 59), "getTitle", [], "method", false, false, false, 59), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["new"], "getTranslations", [], "method", false, false, false, 59), 0, [], "array", false, false, false, 59), "getTitle", [], "method", false, false, false, 59), "html", null, true);
echo "</a></h3>
";
// line 60
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["new"], "getCategories", [], "method", false, false, false, 60));
foreach ($context['_seq'] as $context["_key"] => $context["categ"]) {
// line 61
echo " ";
// line 62
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["categ"], "getTranslations", [], "method", false, false, false, 62), 0, [], "array", false, false, false, 62), "getName", [], "method", false, false, false, 62)), "id" => twig_get_attribute($this->env, $this->source, $context["categ"], "getId", [], "method", false, false, false, 62)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["categ"], "getTranslations", [], "any", false, false, false, 62), 0, [], "array", false, false, false, 62), "getName", [], "method", false, false, false, 62), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categ'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 64
echo " <span>";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["new"], "publicationDate", [], "any", false, false, false, 64), "d/m/Y"), "html", null, true);
echo "</span>
</div>
</div>
";
}
// line 68
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['new'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 69
echo " </div>
</aside>
";
// line 71
if ((1 === twig_compare((isset($context["totalPages"]) || array_key_exists("totalPages", $context) ? $context["totalPages"] : (function () { throw new RuntimeError('Variable "totalPages" does not exist.', 71, $this->source); })()), 1))) {
// line 72
echo " ";
$context["extremePagesLimit"] = 1;
echo " ";
// line 73
echo " ";
$context["nearbyPagesLimit"] = 3;
echo " ";
// line 74
echo " <nav aria-label=\"Pagination\">
<ul class=\"pagination\">
<li>
<a href=\"";
// line 77
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 77, $this->source); })()), "getId", [], "method", false, false, false, 77), "seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 77, $this->source); })()), "getTranslations", [], "method", false, false, false, 77), 0, [], "array", false, false, false, 77), "getName", [], "method", false, false, false, 77)), "currentPage" => ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 77, $this->source); })()) - 1)]), "html", null, true);
echo "\" aria-label=\"Previous page\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon/arrow-left.svg"), "html", null, true);
echo "\" title=\"";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Anterior", [], "messages");
echo "\" /></a>
</li>
";
// line 79
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, (isset($context["extremePagesLimit"]) || array_key_exists("extremePagesLimit", $context) ? $context["extremePagesLimit"] : (function () { throw new RuntimeError('Variable "extremePagesLimit" does not exist.', 79, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 80
echo " ";
if ((-1 === twig_compare($context["i"], ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 80, $this->source); })()) - (isset($context["nearbyPagesLimit"]) || array_key_exists("nearbyPagesLimit", $context) ? $context["nearbyPagesLimit"] : (function () { throw new RuntimeError('Variable "nearbyPagesLimit" does not exist.', 80, $this->source); })()))))) {
// line 81
echo " <li>
<a href=\"";
// line 82
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 82, $this->source); })()), "getId", [], "method", false, false, false, 82), "seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 82, $this->source); })()), "getTranslations", [], "method", false, false, false, 82), 0, [], "array", false, false, false, 82), "getName", [], "method", false, false, false, 82)), "currentPage" => $context["i"]]), "html", null, true);
echo "\" aria-label=\"Page ";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a>
</li>
";
}
// line 85
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 86
echo " ";
if ((-1 === twig_compare(((isset($context["extremePagesLimit"]) || array_key_exists("extremePagesLimit", $context) ? $context["extremePagesLimit"] : (function () { throw new RuntimeError('Variable "extremePagesLimit" does not exist.', 86, $this->source); })()) + 1), ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 86, $this->source); })()) - (isset($context["nearbyPagesLimit"]) || array_key_exists("nearbyPagesLimit", $context) ? $context["nearbyPagesLimit"] : (function () { throw new RuntimeError('Variable "nearbyPagesLimit" does not exist.', 86, $this->source); })()))))) {
// line 87
echo " <li class=\"ellipsis\" aria-hidden=\"true\"></li>
";
}
// line 89
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 89, $this->source); })()) - (isset($context["nearbyPagesLimit"]) || array_key_exists("nearbyPagesLimit", $context) ? $context["nearbyPagesLimit"] : (function () { throw new RuntimeError('Variable "nearbyPagesLimit" does not exist.', 89, $this->source); })())), ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 89, $this->source); })()) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 90
echo " ";
if ((1 === twig_compare($context["i"], 0))) {
// line 91
echo " <li>
<a href=\"";
// line 92
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 92, $this->source); })()), "getId", [], "method", false, false, false, 92), "seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 92, $this->source); })()), "getTranslations", [], "method", false, false, false, 92), 0, [], "array", false, false, false, 92), "getName", [], "method", false, false, false, 92)), "currentPage" => $context["i"]]), "html", null, true);
echo "\" aria-label=\"Page ";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a>
</li>
";
}
// line 95
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 96
echo " <li class=\"current\">
<a href=\"";
// line 97
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 97, $this->source); })()), "getId", [], "method", false, false, false, 97), "seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 97, $this->source); })()), "getTranslations", [], "method", false, false, false, 97), 0, [], "array", false, false, false, 97), "getName", [], "method", false, false, false, 97)), "currentPage" => (isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 97, $this->source); })())]), "html", null, true);
echo "\" aria-label=\"Page ";
echo twig_escape_filter($this->env, (isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 97, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, (isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 97, $this->source); })()), "html", null, true);
echo "</a>
</li>
";
// line 99
if ((-1 === twig_compare((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 99, $this->source); })()), (isset($context["totalPages"]) || array_key_exists("totalPages", $context) ? $context["totalPages"] : (function () { throw new RuntimeError('Variable "totalPages" does not exist.', 99, $this->source); })())))) {
// line 100
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 100, $this->source); })()) + 1), ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 100, $this->source); })()) + (isset($context["nearbyPagesLimit"]) || array_key_exists("nearbyPagesLimit", $context) ? $context["nearbyPagesLimit"] : (function () { throw new RuntimeError('Variable "nearbyPagesLimit" does not exist.', 100, $this->source); })()))));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 101
echo " ";
if ((0 >= twig_compare($context["i"], (isset($context["totalPages"]) || array_key_exists("totalPages", $context) ? $context["totalPages"] : (function () { throw new RuntimeError('Variable "totalPages" does not exist.', 101, $this->source); })())))) {
// line 102
echo " <li>
<a href=\"";
// line 103
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 103, $this->source); })()), "getId", [], "method", false, false, false, 103), "seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 103, $this->source); })()), "getTranslations", [], "method", false, false, false, 103), 0, [], "array", false, false, false, 103), "getName", [], "method", false, false, false, 103)), "currentPage" => $context["i"]]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a>
</li>
";
}
// line 106
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 107
echo "
";
// line 108
if ((1 === twig_compare(((isset($context["totalPages"]) || array_key_exists("totalPages", $context) ? $context["totalPages"] : (function () { throw new RuntimeError('Variable "totalPages" does not exist.', 108, $this->source); })()) - (isset($context["extremePagesLimit"]) || array_key_exists("extremePagesLimit", $context) ? $context["extremePagesLimit"] : (function () { throw new RuntimeError('Variable "extremePagesLimit" does not exist.', 108, $this->source); })())), ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 108, $this->source); })()) + (isset($context["nearbyPagesLimit"]) || array_key_exists("nearbyPagesLimit", $context) ? $context["nearbyPagesLimit"] : (function () { throw new RuntimeError('Variable "nearbyPagesLimit" does not exist.', 108, $this->source); })()))))) {
// line 109
echo " <li class=\"ellipsis\" aria-hidden=\"true\"></li>
";
}
// line 111
echo "
";
// line 112
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range((((isset($context["totalPages"]) || array_key_exists("totalPages", $context) ? $context["totalPages"] : (function () { throw new RuntimeError('Variable "totalPages" does not exist.', 112, $this->source); })()) - (isset($context["extremePagesLimit"]) || array_key_exists("extremePagesLimit", $context) ? $context["extremePagesLimit"] : (function () { throw new RuntimeError('Variable "extremePagesLimit" does not exist.', 112, $this->source); })())) + 1), (isset($context["totalPages"]) || array_key_exists("totalPages", $context) ? $context["totalPages"] : (function () { throw new RuntimeError('Variable "totalPages" does not exist.', 112, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 113
echo " ";
if ((1 === twig_compare($context["i"], ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 113, $this->source); })()) + (isset($context["nearbyPagesLimit"]) || array_key_exists("nearbyPagesLimit", $context) ? $context["nearbyPagesLimit"] : (function () { throw new RuntimeError('Variable "nearbyPagesLimit" does not exist.', 113, $this->source); })()))))) {
// line 114
echo " <li>
<a href=\"";
// line 115
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 115, $this->source); })()), "getId", [], "method", false, false, false, 115), "seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 115, $this->source); })()), "getTranslations", [], "method", false, false, false, 115), 0, [], "array", false, false, false, 115), "getName", [], "method", false, false, false, 115)), "currentPage" => $context["i"]]), "html", null, true);
echo "\" aria-label=\"Page ";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a>
</li>
";
}
// line 118
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 119
echo " <li class=\"pagination-next\">
<a href=\"";
// line 120
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 120, $this->source); })()), "getId", [], "method", false, false, false, 120), "seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 120, $this->source); })()), "getTranslations", [], "method", false, false, false, 120), 0, [], "array", false, false, false, 120), "getName", [], "method", false, false, false, 120)), "currentPage" => (((0 >= twig_compare(((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 120, $this->source); })()) + 1), (isset($context["totalPages"]) || array_key_exists("totalPages", $context) ? $context["totalPages"] : (function () { throw new RuntimeError('Variable "totalPages" does not exist.', 120, $this->source); })())))) ? (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 120, $this->source); })()) + 1)) : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 120, $this->source); })())))]), "html", null, true);
echo "\" aria-label=\"Next page\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon/arrow.svg"), "html", null, true);
echo "\" title=\"";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Siguiente", [], "messages");
echo "\" /></a>
</li>
";
}
// line 123
echo " </ul>
</nav>
";
}
// line 126
echo " </div>
</div>
</div>
</article>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Frontend/news/news_by_categ.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 449 => 126, 444 => 123, 434 => 120, 431 => 119, 425 => 118, 415 => 115, 412 => 114, 409 => 113, 405 => 112, 402 => 111, 398 => 109, 396 => 108, 393 => 107, 387 => 106, 379 => 103, 376 => 102, 373 => 101, 368 => 100, 366 => 99, 357 => 97, 354 => 96, 348 => 95, 338 => 92, 335 => 91, 332 => 90, 327 => 89, 323 => 87, 320 => 86, 314 => 85, 304 => 82, 301 => 81, 298 => 80, 294 => 79, 285 => 77, 280 => 74, 276 => 73, 272 => 72, 270 => 71, 266 => 69, 260 => 68, 252 => 64, 241 => 62, 239 => 61, 235 => 60, 227 => 59, 215 => 56, 212 => 55, 209 => 54, 206 => 53, 203 => 52, 200 => 51, 197 => 50, 194 => 49, 191 => 48, 188 => 47, 185 => 46, 183 => 45, 180 => 44, 177 => 43, 169 => 39, 158 => 37, 156 => 36, 152 => 35, 144 => 34, 132 => 31, 129 => 30, 126 => 29, 123 => 28, 120 => 27, 117 => 26, 114 => 25, 111 => 24, 108 => 23, 105 => 22, 102 => 21, 100 => 20, 97 => 19, 94 => 18, 91 => 17, 87 => 16, 81 => 13, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'Frontend/layout.html.twig' %}
{% block content %}
{# dump(category) #} {# dump(news) #}
<section id=\"news\">
<!-- CATEGORY TABS -->
<article>
<div class=\"grid-container\">
<div class=\"tabs-content\" data-tabs-content=\"news-tabs\">
<div class=\"tabs-panel is-active\" id=\"all\">
<aside class=\"listado\">
<header>
<h1>{{ category.translations[0].getName() }}</h1>
</header>
<div class=\"grid-x grid-margin-x grid-margin-y\">
{% for new in news %}
{% if new.id == news_for_china_only %}
{% if fromChina is not empty %}
<div class=\"cell small-12 medium-6 large-4\">
{% if new.getTranslations()[0].getTitle()|default %}
{% set newsPath = path('new', { seoSlug: new.getTranslations()[0].getTitle()|make_url_phrase, id: new.getId() }) %}
{% else %}
{% set newsPath = '' %}
{% endif %}
{% if new.images[0] is defined %}
{% set imgPath = IMG_PATH ~ new.images[0].section ~ '/' ~ new.images[0].itemId ~ '/resized/' ~ new.images[0].id ~ '_backendGallery.' ~ new.images[0].extension %}
{% else %}
{% set imgPath = '' %}
{% endif %}
<figure>
<a href=\"{{ newsPath }}\" title=\"{{ new.getTranslations()[0].getTitle() }}\"><img src=\"{{ imgPath }}\" alt=\"{{ new.getTranslations()[0].getTitle() }}\" /></a>
</figure>
<div>
<h3><a href=\"{{ newsPath }}\" title=\"{{ new.getTranslations()[0].getTitle() }}\">{{ new.getTranslations()[0].getTitle() }}</a></h3>
{% for categ in new.getCategories() %}
{# dump(categ) #}
<a href=\"{{ path('newsByCateg', { seoSlugCategory: categ.getTranslations()[0].getName()|make_url_phrase, id: categ.getId() }) }}\">{{ categ.getTranslations[0].getName() }}</a>
{% endfor %}
<span>{{ new.publicationDate|date('d/m/Y') }}</span>
</div>
</div>
{% endif %}
{% else %}
<div class=\"cell small-12 medium-6 large-4\">
{% if new.getTranslations()[0].getTitle()|default %}
{% set newsPath = path('new', { seoSlug: new.getTranslations()[0].getTitle()|make_url_phrase, id: new.getId() }) %}
{% else %}
{% set newsPath = '' %}
{% endif %}
{% if new.images[0] is defined %}
{% set imgPath = IMG_PATH ~ new.images[0].section ~ '/' ~ new.images[0].itemId ~ '/resized/' ~ new.images[0].id ~ '_backendGallery.' ~ new.images[0].extension %}
{% else %}
{% set imgPath = '' %}
{% endif %}
<figure>
<a href=\"{{ newsPath }}\" title=\"{{ new.getTranslations()[0].getTitle() }}\"><img src=\"{{ imgPath }}\" alt=\"{{ new.getTranslations()[0].getTitle() }}\" /></a>
</figure>
<div>
<h3><a href=\"{{ newsPath }}\" title=\"{{ new.getTranslations()[0].getTitle() }}\">{{ new.getTranslations()[0].getTitle() }}</a></h3>
{% for categ in new.getCategories() %}
{# dump(categ) #}
<a href=\"{{ path('newsByCateg', { seoSlugCategory: categ.getTranslations()[0].getName()|make_url_phrase, id: categ.getId() }) }}\">{{ categ.getTranslations[0].getName() }}</a>
{% endfor %}
<span>{{ new.publicationDate|date('d/m/Y') }}</span>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</aside>
{% if totalPages > 1 %}
{% set extremePagesLimit = 1 %} {# El nº de primeras y últimas páginas a mostrar #}
{% set nearbyPagesLimit = 3 %} {# El nº de páginas que se muestran desde la página actual #}
<nav aria-label=\"Pagination\">
<ul class=\"pagination\">
<li>
<a href=\"{{ path('newsByCateg', { id: category.getId(), seoSlugCategory: category.getTranslations()[0].getName()|make_url_phrase, currentPage: currentPage - 1 }) }}\" aria-label=\"Previous page\"><img src=\"{{ asset('assets/images/icon/arrow-left.svg') }}\" title=\"{% trans %}Anterior{% endtrans %}\" /></a>
</li>
{% for i in 1..extremePagesLimit %}
{% if i < currentPage - nearbyPagesLimit %}
<li>
<a href=\"{{ path('newsByCateg', { id: category.getId(), seoSlugCategory: category.getTranslations()[0].getName()|make_url_phrase, currentPage: i }) }}\" aria-label=\"Page {{ i }}\">{{ i }}</a>
</li>
{% endif %}
{% endfor %}
{% if extremePagesLimit + 1 < currentPage - nearbyPagesLimit %}
<li class=\"ellipsis\" aria-hidden=\"true\"></li>
{% endif %}
{% for i in range(currentPage - nearbyPagesLimit, currentPage - 1) %}
{% if i > 0 %}
<li>
<a href=\"{{ path('newsByCateg', { id: category.getId(), seoSlugCategory: category.getTranslations()[0].getName()|make_url_phrase, currentPage: i }) }}\" aria-label=\"Page {{ i }}\">{{ i }}</a>
</li>
{% endif %}
{% endfor %}
<li class=\"current\">
<a href=\"{{ path('newsByCateg', { id: category.getId(), seoSlugCategory: category.getTranslations()[0].getName()|make_url_phrase, currentPage: currentPage }) }}\" aria-label=\"Page {{ currentPage }}\">{{ currentPage }}</a>
</li>
{% if currentPage < totalPages %}
{% for i in range(currentPage + 1, currentPage + nearbyPagesLimit) %}
{% if i <= totalPages %}
<li>
<a href=\"{{ path('newsByCateg', { id: category.getId(), seoSlugCategory: category.getTranslations()[0].getName()|make_url_phrase, currentPage: i }) }}\">{{ i }}</a>
</li>
{% endif %}
{% endfor %}
{% if totalPages - extremePagesLimit > currentPage + nearbyPagesLimit %}
<li class=\"ellipsis\" aria-hidden=\"true\"></li>
{% endif %}
{% for i in range(totalPages - extremePagesLimit + 1, totalPages) %}
{% if i > currentPage + nearbyPagesLimit %}
<li>
<a href=\"{{ path('newsByCateg', { id: category.getId(), seoSlugCategory: category.getTranslations()[0].getName()|make_url_phrase, currentPage: i }) }}\" aria-label=\"Page {{ i }}\">{{ i }}</a>
</li>
{% endif %}
{% endfor %}
<li class=\"pagination-next\">
<a href=\"{{ path('newsByCateg', { id: category.getId(), seoSlugCategory: category.getTranslations()[0].getName()|make_url_phrase, currentPage: currentPage + 1 <= totalPages ? currentPage + 1 : currentPage }) }}\" aria-label=\"Next page\"><img src=\"{{ asset('assets/images/icon/arrow.svg') }}\" title=\"{% trans %}Siguiente{% endtrans %}\" /></a>
</li>
{% endif %}
</ul>
</nav>
{% endif %}
</div>
</div>
</div>
</article>
</section>
{% endblock %}
", "Frontend/news/news_by_categ.html.twig", "/var/www/espanyol/templates/Frontend/news/news_by_categ.html.twig");
}
}