var/cache/dev/twig/a6/a6b51c818aadb11d3c480c74eab77e6d2f3a6a1f21a706722a192250b4974b39.php line 39

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/blog/by_category.html.twig */
  14. class __TwigTemplate_9f17d204bc7e94bb0e00a7377b4b13edf75e1c3bbaaad430bcee6b22467f90d0 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.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/blog/by_category.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/blog/by_category.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""front/blog/by_category.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo " ";
  55.         echo twig_escape_filter($this->envtwig_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.'3$this->source); })()), "name", [], "any"falsefalsefalse3), "html"nulltrue);
  56.         echo " | ";
  57.         $this->displayParentBlock("title"$context$blocks);
  58.         echo " ";
  59.         
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  61.         
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  63.     }
  64.     // line 5
  65.     public function block_body($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  72.         // line 6
  73.         echo "<div class=\"breadcrumbs-fs fl-wrap\">
  74.     <div class=\"container\">
  75.         <div class=\"breadcrumbs fl-wrap\">
  76.             <a href=\"";
  77.         // line 9
  78.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_blog");
  79.         echo "\">Blog</a><span>";
  80.         echo twig_escape_filter($this->envtwig_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.'9$this->source); })()), "name", [], "any"falsefalsefalse9), "html"nulltrue);
  81.         echo "</span>
  82.         </div>
  83.     </div>
  84. </div>
  85. <section class=\"grey-blue-bg small-padding\">
  86.     <div class=\"container\">
  87.         <div class=\"row\">
  88.             <div class=\"col-md-8\">
  89.                 <div class=\"post-container fl-wrap\">
  90.                     ";
  91.         // line 18
  92.         if ((=== 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.'18$this->source); })()), "totalItemCount", [], "any"falsefalsefalse18), 0))) {
  93.             echo 
  94.                         ";
  95.             // line 19
  96.             $context['_parent'] = $context;
  97.             $context['_seq'] = twig_ensure_traversable((isset($context["articles"]) || array_key_exists("articles"$context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.'19$this->source); })()));
  98.             foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
  99.                 // line 20
  100.                 echo "                        <article class=\"post-article\">
  101.                             <div class=\"title-devis\">
  102.                                 <span>";
  103.                 // line 22
  104.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "title", [], "any"falsefalsefalse22), "html"nulltrue);
  105.                 echo "</span>
  106.                             </div>
  107.                             <div class=\"list-single-main-media fl-wrap\">
  108.                                 <div class=\"single-slider-wrapper fl-wrap\">
  109.                                     <div class=\"single-slider fl-wrap\">
  110.                                         <div class=\"slick-slide-item\">
  111.                                             ";
  112.                 // line 29
  113.                 if (twig_get_attribute($this->env$this->source$context["article"], "image", [], "any"falsefalsefalse29)) {
  114.                     // line 30
  115.                     echo "                                            <img src=\"";
  116.                     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"falsefalsefalse30))), "806x250"), "html"nulltrue);
  117.                     echo "\" alt=\"";
  118.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "title", [], "any"falsefalsefalse30), "html"nulltrue);
  119.                     echo "\">
  120.                                             ";
  121.                 } else {
  122.                     // line 32
  123.                     echo "                                            <img src=\"";
  124.                     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"nulltrue);
  125.                     echo "\" alt=\"";
  126.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "title", [], "any"falsefalsefalse32), "html"nulltrue);
  127.                     echo "\">
  128.                                             ";
  129.                 }
  130.                 // line 34
  131.                 echo "                                        </div>
  132.                                     </div>
  133.                                 </div>
  134.                             </div>
  135.                             <div class=\"list-single-main-item fl-wrap\">
  136.                                 <p>
  137.                                     ";
  138.                 // line 40
  139.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "content", [], "any"falsefalsefalse40)), 410))) {
  140.                     // line 41
  141.                     echo "                                    ";
  142.                     echo twig_slice($this->envtwig_get_attribute($this->env$this->source$context["article"], "content", [], "any"falsefalsefalse41), 0410);
  143.                     echo " ...
  144.                                     ";
  145.                 } else {
  146.                     // line 43
  147.                     echo "                                    ";
  148.                     echo twig_slice($this->envtwig_get_attribute($this->env$this->source$context["article"], "content", [], "any"falsefalsefalse43), 0410);
  149.                     echo "
  150.                                     ";
  151.                 }
  152.                 // line 45
  153.                 echo "                                </p>
  154.                                 <div class=\"post-opt\">
  155.                                     <ul>
  156.                                         <li><i class=\"fal fa-calendar\"></i> <span>";
  157.                 // line 48
  158.                 echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->envtwig_get_attribute($this->env$this->source$context["article"], "createdAt", [], "any"falsefalsefalse48), "medium""medium""dd MMMM YYYY"null"gregorian""fr"), "html"nulltrue);
  159.                 echo "</span></li>
  160.                                         <li><i class=\"fal fa-share-alt\"></i> <span>RYVUP</span></li>
  161.                                     </ul>
  162.                                 </div>
  163.                                 ";
  164.                 // line 52
  165.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "content", [], "any"falsefalsefalse52)), 410))) {
  166.                     // line 53
  167.                     echo "                                <span class=\"fw-separator\"></span>
  168.                                 <a href=\"";
  169.                     // line 54
  170.                     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->sourcetwig_get_attribute($this->env$this->source$context["article"], "category", [], "any"falsefalsefalse54), "slug", [], "any"falsefalsefalse54), "slug" => twig_get_attribute($this->env$this->source$context["article"], "slug", [], "any"falsefalsefalse54)]), "html"nulltrue);
  171.                     echo "\" class=\"btn float-btn color-bg\">Lire la suite<i class=\"fal fa-angle-right\"></i></a>
  172.                                 ";
  173.                 }
  174.                 // line 56
  175.                 echo "                            </div>
  176.                         </article>
  177.                         ";
  178.             }
  179.             $_parent $context['_parent'];
  180.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
  181.             $context array_intersect_key($context$_parent) + $_parent;
  182.             // line 59
  183.             echo "                    ";
  184.         }
  185.         // line 60
  186.         echo "
  187.                     ";
  188.         // line 61
  189.         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.'61$this->source); })()));
  190.         echo "
  191.                 </div>
  192.             </div>
  193.             <div class=\"col-md-4\">
  194.                 <div class=\"box-widget-wrap fl-wrap fixed-bar\">
  195.                     <div class=\"box-widget-item fl-wrap\">
  196.                         <div class=\"box-widget\">
  197.                             <div class=\"box-widget-content\">
  198.                                 <div class=\"box-widget-item-header mb-3\">
  199.                                     <h3> Demander un devis </h3>
  200.                                 </div>
  201.                                 <div class=\"text-left\">
  202.                                     <p>Location d'autocar, minibus, voiture privée et sanitaire avec chauffeur pour tous vos déplacements</p>
  203.                                     <p>Avec Ryvup, trouver votre transport sur mesure !</p>
  204.                                 </div>
  205.                                 <div class=\"text-left\">
  206.                                     <a href=\"";
  207.         // line 78
  208.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_client_home");
  209.         echo "\" class=\"btn color2-bg mt-3\">
  210.                                        Devis immédiat
  211.                                        <i class=\"fal fa-angle-right\"></i>
  212.                                     </a>
  213.                                 </div>
  214.                             </div>
  215.                         </div>
  216.                     </div>
  217.                     <div class=\"box-widget-item fl-wrap\">
  218.                         <div class=\"box-widget\">
  219.                             <div class=\"box-widget-content\">
  220.                                 <div class=\"box-widget-item-header\">
  221.                                     <h3>Autres catégories</h3>
  222.                                 </div>
  223.                                 <ul class=\"cat-item\">
  224.                                     ";
  225.         // line 94
  226.         $context["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.'94$this->source); })()), "id", [], "any"falsefalsefalse94);
  227.         // line 95
  228.         echo "                                    ";
  229.         $context['_parent'] = $context;
  230.         $context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'95$this->source); })()));
  231.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  232.             // line 96
  233.             echo "                                        ";
  234.             if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse96), (isset($context["id"]) || array_key_exists("id"$context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.'96$this->source); })())))) {
  235.                 // line 97
  236.                 echo "                                        <li><a href=\"";
  237.                 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"falsefalsefalse97)]), "html"nulltrue);
  238.                 echo "\" title=\"";
  239.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse97)), 28))) {
  240.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse97), "html"nulltrue);
  241.                 }
  242.                 echo "\">";
  243.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse97)), 28))) {
  244.                     echo twig_escape_filter($this->envtwig_slice($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse97), 028), "html"nulltrue);
  245.                     echo "...";
  246.                 } else {
  247.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse97), "html"nulltrue);
  248.                 }
  249.                 echo "</a> <span>";
  250.                 echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "articles", [], "any"falsefalsefalse97)), "html"nulltrue);
  251.                 echo "</span></li>
  252.                                         ";
  253.             }
  254.             // line 99
  255.             echo "                                    ";
  256.         }
  257.         $_parent $context['_parent'];
  258.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  259.         $context array_intersect_key($context$_parent) + $_parent;
  260.         // line 100
  261.         echo "                                </ul>
  262.                             </div>
  263.                         </div>
  264.                     </div>
  265.                 </div>
  266.             </div>
  267.         </div>
  268.     </div>
  269. </section>
  270. ";
  271.         
  272.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  273.         
  274.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  275.     }
  276.     /**
  277.      * @codeCoverageIgnore
  278.      */
  279.     public function getTemplateName()
  280.     {
  281.         return "front/blog/by_category.html.twig";
  282.     }
  283.     /**
  284.      * @codeCoverageIgnore
  285.      */
  286.     public function isTraitable()
  287.     {
  288.         return false;
  289.     }
  290.     /**
  291.      * @codeCoverageIgnore
  292.      */
  293.     public function getDebugInfo()
  294.     {
  295.         return array (  283 => 100,  277 => 99,  258 => 97,  255 => 96,  250 => 95,  248 => 94,  229 => 78,  209 => 61,  206 => 60,  203 => 59,  195 => 56,  190 => 54,  187 => 53,  185 => 52,  178 => 48,  173 => 45,  167 => 43,  161 => 41,  159 => 40,  151 => 34,  143 => 32,  135 => 30,  133 => 29,  123 => 22,  119 => 20,  115 => 19,  111 => 18,  97 => 9,  92 => 6,  82 => 5,  59 => 3,  36 => 1,);
  296.     }
  297.     public function getSourceContext()
  298.     {
  299.         return new Source("{% extends 'base.html.twig' %}
  300. {% block title %} {{ category.name }} | {{ parent() }} {% endblock %}
  301. {% block body %}
  302. <div class=\"breadcrumbs-fs fl-wrap\">
  303.     <div class=\"container\">
  304.         <div class=\"breadcrumbs fl-wrap\">
  305.             <a href=\"{{ url('app_front_blog') }}\">Blog</a><span>{{ category.name }}</span>
  306.         </div>
  307.     </div>
  308. </div>
  309. <section class=\"grey-blue-bg small-padding\">
  310.     <div class=\"container\">
  311.         <div class=\"row\">
  312.             <div class=\"col-md-8\">
  313.                 <div class=\"post-container fl-wrap\">
  314.                     {% if articles.totalItemCount > 0 %} 
  315.                         {% for article in articles %}
  316.                         <article class=\"post-article\">
  317.                             <div class=\"title-devis\">
  318.                                 <span>{{ article.title }}</span>
  319.                             </div>
  320.                             <div class=\"list-single-main-media fl-wrap\">
  321.                                 <div class=\"single-slider-wrapper fl-wrap\">
  322.                                     <div class=\"single-slider fl-wrap\">
  323.                                         <div class=\"slick-slide-item\">
  324.                                             {% if article.image %}
  325.                                             <img src=\"{{ asset('/uploads/files/articles/' ~ article.image) | imagine_filter('806x250') }}\" alt=\"{{ article.title }}\">
  326.                                             {% else %}
  327.                                             <img src=\"{{ asset('front/images/all/ryvup.jpeg') | imagine_filter('806x250') }}\" alt=\"{{ article.title }}\">
  328.                                             {% endif %}
  329.                                         </div>
  330.                                     </div>
  331.                                 </div>
  332.                             </div>
  333.                             <div class=\"list-single-main-item fl-wrap\">
  334.                                 <p>
  335.                                     {% if article.content | length > 410 %}
  336.                                     {{ article.content|slice(0,410)|raw }} ...
  337.                                     {% else %}
  338.                                     {{ article.content|slice(0,410)|raw }}
  339.                                     {% endif %}
  340.                                 </p>
  341.                                 <div class=\"post-opt\">
  342.                                     <ul>
  343.                                         <li><i class=\"fal fa-calendar\"></i> <span>{{ article.createdAt | format_datetime(locale='fr', pattern=\"dd MMMM YYYY\") }}</span></li>
  344.                                         <li><i class=\"fal fa-share-alt\"></i> <span>RYVUP</span></li>
  345.                                     </ul>
  346.                                 </div>
  347.                                 {% if article.content | length > 410 %}
  348.                                 <span class=\"fw-separator\"></span>
  349.                                 <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>
  350.                                 {% endif %}
  351.                             </div>
  352.                         </article>
  353.                         {% endfor %}
  354.                     {% endif %}
  355.                     {{ knp_pagination_render(articles) }}
  356.                 </div>
  357.             </div>
  358.             <div class=\"col-md-4\">
  359.                 <div class=\"box-widget-wrap fl-wrap fixed-bar\">
  360.                     <div class=\"box-widget-item fl-wrap\">
  361.                         <div class=\"box-widget\">
  362.                             <div class=\"box-widget-content\">
  363.                                 <div class=\"box-widget-item-header mb-3\">
  364.                                     <h3> Demander un devis </h3>
  365.                                 </div>
  366.                                 <div class=\"text-left\">
  367.                                     <p>Location d'autocar, minibus, voiture privée et sanitaire avec chauffeur pour tous vos déplacements</p>
  368.                                     <p>Avec Ryvup, trouver votre transport sur mesure !</p>
  369.                                 </div>
  370.                                 <div class=\"text-left\">
  371.                                     <a href=\"{{ url('app_client_home') }}\" class=\"btn color2-bg mt-3\">
  372.                                        Devis immédiat
  373.                                        <i class=\"fal fa-angle-right\"></i>
  374.                                     </a>
  375.                                 </div>
  376.                             </div>
  377.                         </div>
  378.                     </div>
  379.                     <div class=\"box-widget-item fl-wrap\">
  380.                         <div class=\"box-widget\">
  381.                             <div class=\"box-widget-content\">
  382.                                 <div class=\"box-widget-item-header\">
  383.                                     <h3>Autres catégories</h3>
  384.                                 </div>
  385.                                 <ul class=\"cat-item\">
  386.                                     {% set id = category.id %}
  387.                                     {% for category in categories %}
  388.                                         {% if category.id != id %}
  389.                                         <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>
  390.                                         {% endif %}
  391.                                     {% endfor %}
  392.                                 </ul>
  393.                             </div>
  394.                         </div>
  395.                     </div>
  396.                 </div>
  397.             </div>
  398.         </div>
  399.     </div>
  400. </section>
  401. {% endblock %}""front/blog/by_category.html.twig""/var/www/vhosts/resoh.fr/httpdocs/templates/front/blog/by_category.html.twig");
  402.     }
  403. }