<?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/blog/articles.html.twig */
class __TwigTemplate_c5da21c9c33274615739aad02ef8a28f7bfa9929bc9db3daf9b8ac8982cf73a9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'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/blog/articles.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/blog/articles.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "front/blog/articles.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_title($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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo " Blog | ";
$this->displayParentBlock("title", $context, $blocks);
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
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 6
echo "<section class=\"grey-blue-bg small-padding\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-8\">
<div class=\"post-container fl-wrap\">
";
// line 11
if ((1 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["articles"]) || array_key_exists("articles", $context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.', 11, $this->source); })()), "totalItemCount", [], "any", false, false, false, 11), 0))) {
echo "
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["articles"]) || array_key_exists("articles", $context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.', 12, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
// line 13
echo " <article class=\"post-article\">
<div class=\"title-devis\">
<span>";
// line 15
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "title", [], "any", false, false, false, 15), "html", null, true);
echo "</span>
</div>
<div class=\"list-single-main-media fl-wrap\">
<div class=\"single-slider-wrapper fl-wrap\">
<div class=\"single-slider fl-wrap\">
<div class=\"slick-slide-item\">
";
// line 22
if (twig_get_attribute($this->env, $this->source, $context["article"], "image", [], "any", false, false, false, 22)) {
// line 23
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/files/articles/" . twig_get_attribute($this->env, $this->source, $context["article"], "image", [], "any", false, false, false, 23))), "806x250"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "title", [], "any", false, false, false, 23), "html", null, true);
echo "\">
";
} else {
// line 25
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/images/all/ryvup.jpeg"), "806x250"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "title", [], "any", false, false, false, 25), "html", null, true);
echo "\">
";
}
// line 27
echo " </div>
</div>
</div>
</div>
<div class=\"list-single-main-item fl-wrap\">
<div class=\"control-description\">
";
// line 33
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "content", [], "any", false, false, false, 33)), 410))) {
// line 34
echo " ";
echo twig_slice($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "content", [], "any", false, false, false, 34), 0, 410);
echo "...
";
} else {
// line 36
echo " ";
echo twig_slice($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "content", [], "any", false, false, false, 36), 0, 410);
echo "
";
}
// line 38
echo " </div>
<div class=\"post-opt\">
<ul>
<li><i class=\"fal fa-tags\"></i> <a href=\"";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_blog_by_category", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["article"], "category", [], "any", false, false, false, 41), "slug", [], "any", false, false, false, 41)]), "html", null, true);
echo "\" class=\"text-theme-blue\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["article"], "category", [], "any", false, false, false, 41), "name", [], "any", false, false, false, 41), "html", null, true);
echo "</a></li>
<li><i class=\"fal fa-calendar\"></i> <span>";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "createdAt", [], "any", false, false, false, 42), "medium", "medium", "dd MMMM YYYY", null, "gregorian", "fr"), "html", null, true);
echo "</span></li>
<li><i class=\"fal fa-share-alt\"></i> <span>RYVUP</span></li>
</ul>
</div>
";
// line 46
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "content", [], "any", false, false, false, 46)), 410))) {
// line 47
echo " <span class=\"fw-separator\"></span>
<a href=\"";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_blog_read", ["cat_slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["article"], "category", [], "any", false, false, false, 48), "slug", [], "any", false, false, false, 48), "slug" => twig_get_attribute($this->env, $this->source, $context["article"], "slug", [], "any", false, false, false, 48)]), "html", null, true);
echo "\" class=\"btn float-btn color-bg\">Lire la suite<i class=\"fal fa-angle-right\"></i></a>
";
}
// line 50
echo " </div>
</article>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 53
echo " ";
}
// line 54
echo "
";
// line 55
echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["articles"]) || array_key_exists("articles", $context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.', 55, $this->source); })()));
echo "
</div>
</div>
<div class=\"col-md-4\">
<div class=\"box-widget-wrap fl-wrap fixed-bar\">
<div class=\"box-widget-item fl-wrap\">
<div class=\"box-widget\">
<div class=\"box-widget-content\">
<div class=\"box-widget-item-header mb-3\">
<h3> Demander un devis </h3>
</div>
<div class=\"text-left\">
<p>Location d'autocar, minibus, voiture privée et sanitaire avec chauffeur pour tous vos déplacements</p>
<p>Avec Ryvup, trouver votre transport sur mesure !</p>
</div>
<div class=\"text-left\">
<a href=\"";
// line 72
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_client_home");
echo "\" class=\"btn color2-bg mt-3\">
Devis immédiat
<i class=\"fal fa-angle-right\"></i>
</a>
</div>
</div>
</div>
</div>
<div class=\"box-widget-item fl-wrap\">
<div class=\"box-widget widget-posts\">
<div class=\"box-widget-content\">
<div class=\"box-widget-item-header\">
<h3>Les articles récents</h3>
</div>
";
// line 87
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["lastArticles"]) || array_key_exists("lastArticles", $context) ? $context["lastArticles"] : (function () { throw new RuntimeError('Variable "lastArticles" does not exist.', 87, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
// line 88
echo " <div class=\"box-image-widget\">
<div class=\"box-image-widget-media\">
";
// line 90
if (twig_get_attribute($this->env, $this->source, $context["article"], "image", [], "any", false, false, false, 90)) {
// line 91
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/files/articles/" . twig_get_attribute($this->env, $this->source, $context["article"], "image", [], "any", false, false, false, 91))), "115x76"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "title", [], "any", false, false, false, 91), "html", null, true);
echo "\">
";
} else {
// line 93
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/images/all/ryvup.jpeg"), "115x76"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "title", [], "any", false, false, false, 93), "html", null, true);
echo "\">
";
}
// line 95
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_blog_read", ["cat_slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["article"], "category", [], "any", false, false, false, 95), "slug", [], "any", false, false, false, 95), "slug" => twig_get_attribute($this->env, $this->source, $context["article"], "slug", [], "any", false, false, false, 95)]), "html", null, true);
echo "\" class=\"color-bg\">Détails</a>
</div>
<div class=\"box-image-widget-details\">
<h4>";
// line 98
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "title", [], "any", false, false, false, 98), "html", null, true);
echo "</h4>
<span class=\"widget-posts-date\">
<i class=\"fal fa-calendar\"></i>
";
// line 101
if (twig_get_attribute($this->env, $this->source, $context["article"], "updatedAt", [], "any", false, false, false, 101)) {
// line 102
echo " Modifié le ";
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "updatedAt", [], "any", false, false, false, 102), "medium", "medium", "dd MMMM YYYY", null, "gregorian", "fr"), "html", null, true);
echo "
";
} else {
// line 104
echo " Publié le ";
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "createdAt", [], "any", false, false, false, 104), "medium", "medium", "dd MMMM YYYY", null, "gregorian", "fr"), "html", null, true);
echo "
";
}
// line 106
echo " </span>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 109
echo "
</div>
</div>
</div>
<div class=\"box-widget-item fl-wrap\">
<div class=\"box-widget\">
<div class=\"box-widget-content\">
<div class=\"box-widget-item-header\">
<h3>Catégories</h3>
</div>
<ul class=\"cat-item\">
";
// line 121
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 121, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 122
echo " <li><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_blog_by_category", ["slug" => twig_get_attribute($this->env, $this->source, $context["category"], "slug", [], "any", false, false, false, 122)]), "html", null, true);
echo "\" title=\"";
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 122)), 28))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 122), "html", null, true);
}
echo "\">";
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 122)), 28))) {
echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 122), 0, 28), "html", null, true);
echo "...";
} else {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 122), "html", null, true);
}
echo "</a> <span>";
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "articles", [], "any", false, false, false, 122)), "html", null, true);
echo "</span></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 124
echo " </ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"limit-box fl-wrap\"></div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/blog/articles.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 341 => 124, 319 => 122, 315 => 121, 301 => 109, 292 => 106, 286 => 104, 280 => 102, 278 => 101, 272 => 98, 265 => 95, 257 => 93, 249 => 91, 247 => 90, 243 => 88, 239 => 87, 221 => 72, 201 => 55, 198 => 54, 195 => 53, 187 => 50, 182 => 48, 179 => 47, 177 => 46, 170 => 42, 164 => 41, 159 => 38, 153 => 36, 147 => 34, 145 => 33, 137 => 27, 129 => 25, 121 => 23, 119 => 22, 109 => 15, 105 => 13, 101 => 12, 97 => 11, 90 => 6, 80 => 5, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %} Blog | {{ parent() }} {% endblock %}
{% block body %}
<section class=\"grey-blue-bg small-padding\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-8\">
<div class=\"post-container fl-wrap\">
{% if articles.totalItemCount > 0 %}
{% for article in articles %}
<article class=\"post-article\">
<div class=\"title-devis\">
<span>{{ article.title }}</span>
</div>
<div class=\"list-single-main-media fl-wrap\">
<div class=\"single-slider-wrapper fl-wrap\">
<div class=\"single-slider fl-wrap\">
<div class=\"slick-slide-item\">
{% if article.image %}
<img src=\"{{ asset('/uploads/files/articles/' ~ article.image) | imagine_filter('806x250') }}\" alt=\"{{ article.title }}\">
{% else %}
<img src=\"{{ asset('front/images/all/ryvup.jpeg') | imagine_filter('806x250') }}\" alt=\"{{ article.title }}\">
{% endif %}
</div>
</div>
</div>
</div>
<div class=\"list-single-main-item fl-wrap\">
<div class=\"control-description\">
{% if article.content | length > 410 %}
{{ article.content|slice(0,410)|raw }}...
{% else %}
{{ article.content|slice(0,410)|raw }}
{% endif %}
</div>
<div class=\"post-opt\">
<ul>
<li><i class=\"fal fa-tags\"></i> <a href=\"{{ url('app_front_blog_by_category', {'slug': article.category.slug}) }}\" class=\"text-theme-blue\">{{ article.category.name }}</a></li>
<li><i class=\"fal fa-calendar\"></i> <span>{{ article.createdAt | format_datetime(locale='fr', pattern=\"dd MMMM YYYY\") }}</span></li>
<li><i class=\"fal fa-share-alt\"></i> <span>RYVUP</span></li>
</ul>
</div>
{% if article.content | length > 410 %}
<span class=\"fw-separator\"></span>
<a href=\"{{ url('app_front_blog_read', {'cat_slug': article.category.slug, 'slug': article.slug}) }}\" class=\"btn float-btn color-bg\">Lire la suite<i class=\"fal fa-angle-right\"></i></a>
{% endif %}
</div>
</article>
{% endfor %}
{% endif %}
{{ knp_pagination_render(articles) }}
</div>
</div>
<div class=\"col-md-4\">
<div class=\"box-widget-wrap fl-wrap fixed-bar\">
<div class=\"box-widget-item fl-wrap\">
<div class=\"box-widget\">
<div class=\"box-widget-content\">
<div class=\"box-widget-item-header mb-3\">
<h3> Demander un devis </h3>
</div>
<div class=\"text-left\">
<p>Location d'autocar, minibus, voiture privée et sanitaire avec chauffeur pour tous vos déplacements</p>
<p>Avec Ryvup, trouver votre transport sur mesure !</p>
</div>
<div class=\"text-left\">
<a href=\"{{ url('app_client_home') }}\" class=\"btn color2-bg mt-3\">
Devis immédiat
<i class=\"fal fa-angle-right\"></i>
</a>
</div>
</div>
</div>
</div>
<div class=\"box-widget-item fl-wrap\">
<div class=\"box-widget widget-posts\">
<div class=\"box-widget-content\">
<div class=\"box-widget-item-header\">
<h3>Les articles récents</h3>
</div>
{% for article in lastArticles %}
<div class=\"box-image-widget\">
<div class=\"box-image-widget-media\">
{% if article.image %}
<img src=\"{{ asset('/uploads/files/articles/' ~ article.image) | imagine_filter('115x76') }}\" alt=\"{{ article.title }}\">
{% else %}
<img src=\"{{ asset('front/images/all/ryvup.jpeg') | imagine_filter('115x76') }}\" alt=\"{{ article.title }}\">
{% endif %}
<a href=\"{{ url('app_front_blog_read', {'cat_slug': article.category.slug, 'slug': article.slug}) }}\" class=\"color-bg\">Détails</a>
</div>
<div class=\"box-image-widget-details\">
<h4>{{ article.title }}</h4>
<span class=\"widget-posts-date\">
<i class=\"fal fa-calendar\"></i>
{% if article.updatedAt %}
Modifié le {{ article.updatedAt | format_datetime(locale='fr', pattern=\"dd MMMM YYYY\") }}
{% else %}
Publié le {{ article.createdAt | format_datetime(locale='fr', pattern=\"dd MMMM YYYY\") }}
{% endif %}
</span>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<div class=\"box-widget-item fl-wrap\">
<div class=\"box-widget\">
<div class=\"box-widget-content\">
<div class=\"box-widget-item-header\">
<h3>Catégories</h3>
</div>
<ul class=\"cat-item\">
{% for category in categories %}
<li><a href=\"{{ url('app_front_blog_by_category', {'slug': category.slug}) }}\" title=\"{% if category.name | length > 28 %}{{ category.name }}{% endif %}\">{% if category.name | length > 28 %}{{ category.name | slice(0,28) }}...{% else %}{{ category.name }}{% endif %}</a> <span>{{ category.articles | length }}</span></li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"limit-box fl-wrap\"></div>
</section>
{% endblock %}
", "front/blog/articles.html.twig", "/var/www/vhosts/resoh.fr/httpdocs/templates/front/blog/articles.html.twig");
}
}