var/cache/dev/twig/0d/0d9180b72d543fcd0e3b5d939053665b08866ce8f18dc462b39a74eafa75fd25.php line 40

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/read.html.twig */
  14. class __TwigTemplate_3b479c431d6f4233cfed82d4d8b045a3dc09ffba6b6be80bc88f903609401719 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.             'seo' => [$this'block_seo'],
  24.             'title' => [$this'block_title'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/blog/read.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/blog/read.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""front/blog/read.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_seo($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  55.         // line 4
  56.         $this->displayParentBlock("seo"$context$blocks);
  57.         echo "
  58. <meta property=\"og:title\" content=\"";
  59.         // line 5
  60.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'5$this->source); })()), "title", [], "any"falsefalsefalse5), "html"nulltrue);
  61.         echo " - Blog | Ryvup\">
  62. <meta name=\"keywords\" content=\"";
  63.         // line 6
  64.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'6$this->source); })()), "keywords", [], "any"falsefalsefalse6), "html"nulltrue);
  65.         echo "\"/>
  66. ";
  67.         
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  69.         
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  71.     }
  72.     // line 10
  73.     public function block_title($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  80.         echo " ";
  81.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'10$this->source); })()), "title", [], "any"falsefalsefalse10), "html"nulltrue);
  82.         echo " - Blog | ";
  83.         $this->displayParentBlock("title"$context$blocks);
  84.         echo " ";
  85.         
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  87.         
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  89.     }
  90.     // line 12
  91.     public function block_body($context, array $blocks = [])
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  98.         // line 13
  99.         echo "<div class=\"breadcrumbs-fs fl-wrap\">
  100.     <div class=\"container\">
  101.         <div class=\"breadcrumbs fl-wrap\"><a href=\"";
  102.         // line 15
  103.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_blog");
  104.         echo "\">Blog</a><a href=\"";
  105.         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->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'15$this->source); })()), "category", [], "any"falsefalsefalse15), "slug", [], "any"falsefalsefalse15)]), "html"nulltrue);
  106.         echo "\">";
  107.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'15$this->source); })()), "category", [], "any"falsefalsefalse15), "name", [], "any"falsefalsefalse15), "html"nulltrue);
  108.         echo "</a><span>";
  109.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'15$this->source); })()), "title", [], "any"falsefalsefalse15), "html"nulltrue);
  110.         echo "</span></div>
  111.     </div>
  112. </div>
  113. <section class=\"grey-blue-bg small-padding\">
  114.     <div class=\"container\">
  115.         <div class=\"row\">
  116.             <div class=\"col-md-8\">
  117.                 <div class=\"post-container fl-wrap\">
  118.                     <article class=\"post-article\">
  119.                         <div class=\"title-devis\">
  120.                             <span>";
  121.         // line 25
  122.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'25$this->source); })()), "title", [], "any"falsefalsefalse25), "html"nulltrue);
  123.         echo "</span>
  124.                         </div>
  125.                         <div class=\"list-single-main-media fl-wrap\">
  126.                             <div class=\"single-slider-wrapper fl-wrap\">
  127.                                 <div class=\"single-slider fl-wrap\">
  128.                                     <div class=\"slick-slide-item\">
  129.                                         ";
  130.         // line 32
  131.         if (twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'32$this->source); })()), "image", [], "any"falsefalsefalse32)) {
  132.             // line 33
  133.             echo "                                        <img src=\"";
  134.             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, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'33$this->source); })()), "image", [], "any"falsefalsefalse33))), "806x250"), "html"nulltrue);
  135.             echo "\" alt=\"";
  136.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'33$this->source); })()), "title", [], "any"falsefalsefalse33), "html"nulltrue);
  137.             echo "\">
  138.                                         ";
  139.         } else {
  140.             // line 35
  141.             echo "                                        <img src=\"";
  142.             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);
  143.             echo "\" alt=\"";
  144.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'35$this->source); })()), "title", [], "any"falsefalsefalse35), "html"nulltrue);
  145.             echo "\">
  146.                                         ";
  147.         }
  148.         // line 37
  149.         echo "                                    </div>
  150.                                 </div>
  151.                             </div>
  152.                         </div>
  153.                         <div class=\"list-single-main-item fl-wrap\">
  154.                             <div class=\"control-description\">
  155.                                 ";
  156.         // line 43
  157.         echo twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'43$this->source); })()), "content", [], "any"falsefalsefalse43);
  158.         echo "
  159.                             </div>                            
  160.                             <div class=\"post-opt\">
  161.                                 <ul>
  162.                                     <li><i class=\"fal fa-tags\"></i> <a href=\"";
  163.         // line 47
  164.         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->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'47$this->source); })()), "category", [], "any"falsefalsefalse47), "slug", [], "any"falsefalsefalse47)]), "html"nulltrue);
  165.         echo "\" class=\"text-theme-blue\">";
  166.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'47$this->source); })()), "category", [], "any"falsefalsefalse47), "name", [], "any"falsefalsefalse47), "html"nulltrue);
  167.         echo "</a></li>
  168.                                     <li><i class=\"fal fa-calendar\"></i> <span>";
  169.         // line 48
  170.         echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'48$this->source); })()), "createdAt", [], "any"falsefalsefalse48), "medium""medium""dd MMMM YYYY"null"gregorian""fr"), "html"nulltrue);
  171.         echo "</span></li>
  172.                                     <li><i class=\"fal fa-share-alt\"></i> <span>RYVUP</span></li>
  173.                                 </ul>
  174.                             </div>
  175.                         </div>
  176.                     </article>
  177.                 </div>
  178.             </div>
  179.             <div class=\"col-md-4\">
  180.                 <div class=\"box-widget-wrap fl-wrap fixed-bar\">
  181.                     <div class=\"box-widget-item fl-wrap\">
  182.                         <div class=\"box-widget\">
  183.                             <div class=\"box-widget-content\">
  184.                                 <div class=\"box-widget-item-header mb-3\">
  185.                                     <h3> Demander un devis </h3>
  186.                                 </div>
  187.                                 <div class=\"text-left\">
  188.                                     <p>Location d'autocar, minibus, voiture privée et sanitaire avec chauffeur pour tous vos déplacements</p>
  189.                                     <p>Avec Ryvup, trouver votre transport sur mesure !</p>
  190.                                 </div>
  191.                                 <div class=\"text-left\">
  192.                                     <a href=\"";
  193.         // line 70
  194.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_client_home");
  195.         echo "\" class=\"btn color2-bg mt-3\">
  196.                                        Devis immédiat
  197.                                        <i class=\"fal fa-angle-right\"></i>
  198.                                     </a>
  199.                                 </div>
  200.                             </div>
  201.                         </div>
  202.                     </div>
  203.                     <div class=\"box-widget-item fl-wrap\">
  204.                         <div class=\"box-widget widget-posts\">
  205.                             <div class=\"box-widget-content\">
  206.                                 <div class=\"box-widget-item-header\">
  207.                                     <h3>Articles similaires</h3>
  208.                                 </div>
  209.                                 ";
  210.         // line 85
  211.         $context['_parent'] = $context;
  212.         $context['_seq'] = twig_ensure_traversable((isset($context["lastArticles"]) || array_key_exists("lastArticles"$context) ? $context["lastArticles"] : (function () { throw new RuntimeError('Variable "lastArticles" does not exist.'85$this->source); })()));
  213.         foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
  214.             // line 86
  215.             echo "                                <div class=\"box-image-widget\">
  216.                                     <div class=\"box-image-widget-media\">
  217.                                         ";
  218.             // line 88
  219.             if (twig_get_attribute($this->env$this->source$context["article"], "image", [], "any"falsefalsefalse88)) {
  220.                 // line 89
  221.                 echo "                                        <img src=\"";
  222.                 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"falsefalsefalse89))), "115x76"), "html"nulltrue);
  223.                 echo "\" alt=\"";
  224.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "title", [], "any"falsefalsefalse89), "html"nulltrue);
  225.                 echo "\">
  226.                                         ";
  227.             } else {
  228.                 // line 91
  229.                 echo "                                        <img src=\"";
  230.                 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"nulltrue);
  231.                 echo "\" alt=\"";
  232.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "title", [], "any"falsefalsefalse91), "html"nulltrue);
  233.                 echo "\">
  234.                                         ";
  235.             }
  236.             // line 93
  237.             echo "                                        <a href=\"";
  238.             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"falsefalsefalse93), "slug", [], "any"falsefalsefalse93), "slug" => twig_get_attribute($this->env$this->source$context["article"], "slug", [], "any"falsefalsefalse93)]), "html"nulltrue);
  239.             echo "\" class=\"color-bg\">Détails</a>
  240.                                     </div>
  241.                                     <div class=\"box-image-widget-details\">
  242.                                         <h4>";
  243.             // line 96
  244.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "title", [], "any"falsefalsefalse96), "html"nulltrue);
  245.             echo "</h4>
  246.                                         <span class=\"widget-posts-date\">
  247.                                             <i class=\"fal fa-calendar\"></i> 
  248.                                             ";
  249.             // line 99
  250.             if (twig_get_attribute($this->env$this->source$context["article"], "updatedAt", [], "any"falsefalsefalse99)) {
  251.                 // line 100
  252.                 echo "                                                Modifié le ";
  253.                 echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->envtwig_get_attribute($this->env$this->source$context["article"], "updatedAt", [], "any"falsefalsefalse100), "medium""medium""dd MMMM YYYY"null"gregorian""fr"), "html"nulltrue);
  254.                 echo "
  255.                                             ";
  256.             } else {
  257.                 // line 102
  258.                 echo "                                                Publié le ";
  259.                 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"falsefalsefalse102), "medium""medium""dd MMMM YYYY"null"gregorian""fr"), "html"nulltrue);
  260.                 echo "
  261.                                             ";
  262.             }
  263.             // line 104
  264.             echo "                                        </span>
  265.                                     </div>
  266.                                 </div>    
  267.                                 ";
  268.         }
  269.         $_parent $context['_parent'];
  270.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
  271.         $context array_intersect_key($context$_parent) + $_parent;
  272.         // line 107
  273.         echo "                            
  274.                             </div>
  275.                         </div>
  276.                     </div>
  277.                     <div class=\"box-widget-item fl-wrap\">
  278.                         <div class=\"box-widget\">
  279.                             <div class=\"box-widget-content\">
  280.                                 <div class=\"box-widget-item-header\">
  281.                                     <h3>Catégories</h3>
  282.                                 </div>
  283.                                 <ul class=\"cat-item\">
  284.                                     ";
  285.         // line 119
  286.         $context["id"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'119$this->source); })()), "category", [], "any"falsefalsefalse119), "id", [], "any"falsefalsefalse119);
  287.         // line 120
  288.         echo "                                    ";
  289.         $context['_parent'] = $context;
  290.         $context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'120$this->source); })()));
  291.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  292.             // line 121
  293.             echo "                                        ";
  294.             if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse121), (isset($context["id"]) || array_key_exists("id"$context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.'121$this->source); })())))) {
  295.                 // line 122
  296.                 echo "                                        <li><a href=\"";
  297.                 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"falsefalsefalse122)]), "html"nulltrue);
  298.                 echo "\" title=\"";
  299.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse122)), 28))) {
  300.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse122), "html"nulltrue);
  301.                 }
  302.                 echo "\">";
  303.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse122)), 28))) {
  304.                     echo twig_escape_filter($this->envtwig_slice($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse122), 028), "html"nulltrue);
  305.                     echo "...";
  306.                 } else {
  307.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse122), "html"nulltrue);
  308.                 }
  309.                 echo "</a> <span>";
  310.                 echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "articles", [], "any"falsefalsefalse122)), "html"nulltrue);
  311.                 echo "</span></li>
  312.                                         ";
  313.             }
  314.             // line 124
  315.             echo "                                    ";
  316.         }
  317.         $_parent $context['_parent'];
  318.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  319.         $context array_intersect_key($context$_parent) + $_parent;
  320.         // line 125
  321.         echo "                                </ul>
  322.                             </div>
  323.                         </div>
  324.                     </div>
  325.                 </div>
  326.             </div>
  327.         </div>
  328.     </div>
  329. </section>
  330. ";
  331.         
  332.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  333.         
  334.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  335.     }
  336.     /**
  337.      * @codeCoverageIgnore
  338.      */
  339.     public function getTemplateName()
  340.     {
  341.         return "front/blog/read.html.twig";
  342.     }
  343.     /**
  344.      * @codeCoverageIgnore
  345.      */
  346.     public function isTraitable()
  347.     {
  348.         return false;
  349.     }
  350.     /**
  351.      * @codeCoverageIgnore
  352.      */
  353.     public function getDebugInfo()
  354.     {
  355.         return array (  349 => 125,  343 => 124,  324 => 122,  321 => 121,  316 => 120,  314 => 119,  300 => 107,  291 => 104,  285 => 102,  279 => 100,  277 => 99,  271 => 96,  264 => 93,  256 => 91,  248 => 89,  246 => 88,  242 => 86,  238 => 85,  220 => 70,  195 => 48,  189 => 47,  182 => 43,  174 => 37,  166 => 35,  158 => 33,  156 => 32,  146 => 25,  127 => 15,  123 => 13,  113 => 12,  90 => 10,  78 => 6,  74 => 5,  70 => 4,  60 => 3,  37 => 1,);
  356.     }
  357.     public function getSourceContext()
  358.     {
  359.         return new Source("{% extends 'base.html.twig' %}
  360. {% block seo %}
  361. {{ parent() }}
  362. <meta property=\"og:title\" content=\"{{ article.title }} - Blog | Ryvup\">
  363. <meta name=\"keywords\" content=\"{{ article.keywords }}\"/>
  364. {# <meta name=\"description\" content=\"{{ article.content|raw }}\"/> #}
  365. {% endblock %}
  366. {% block title %} {{ article.title }} - Blog | {{ parent() }} {% endblock %}
  367. {% block body %}
  368. <div class=\"breadcrumbs-fs fl-wrap\">
  369.     <div class=\"container\">
  370.         <div class=\"breadcrumbs fl-wrap\"><a href=\"{{ url('app_front_blog') }}\">Blog</a><a href=\"{{ url('app_front_blog_by_category', {'slug': article.category.slug}) }}\">{{ article.category.name }}</a><span>{{ article.title }}</span></div>
  371.     </div>
  372. </div>
  373. <section class=\"grey-blue-bg small-padding\">
  374.     <div class=\"container\">
  375.         <div class=\"row\">
  376.             <div class=\"col-md-8\">
  377.                 <div class=\"post-container fl-wrap\">
  378.                     <article class=\"post-article\">
  379.                         <div class=\"title-devis\">
  380.                             <span>{{ article.title }}</span>
  381.                         </div>
  382.                         <div class=\"list-single-main-media fl-wrap\">
  383.                             <div class=\"single-slider-wrapper fl-wrap\">
  384.                                 <div class=\"single-slider fl-wrap\">
  385.                                     <div class=\"slick-slide-item\">
  386.                                         {% if article.image %}
  387.                                         <img src=\"{{ asset('/uploads/files/articles/' ~ article.image) | imagine_filter('806x250') }}\" alt=\"{{ article.title }}\">
  388.                                         {% else %}
  389.                                         <img src=\"{{ asset('front/images/all/ryvup.jpeg') | imagine_filter('806x250') }}\" alt=\"{{ article.title }}\">
  390.                                         {% endif %}
  391.                                     </div>
  392.                                 </div>
  393.                             </div>
  394.                         </div>
  395.                         <div class=\"list-single-main-item fl-wrap\">
  396.                             <div class=\"control-description\">
  397.                                 {{ article.content|raw }}
  398.                             </div>                            
  399.                             <div class=\"post-opt\">
  400.                                 <ul>
  401.                                     <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>
  402.                                     <li><i class=\"fal fa-calendar\"></i> <span>{{ article.createdAt | format_datetime(locale='fr', pattern=\"dd MMMM YYYY\") }}</span></li>
  403.                                     <li><i class=\"fal fa-share-alt\"></i> <span>RYVUP</span></li>
  404.                                 </ul>
  405.                             </div>
  406.                         </div>
  407.                     </article>
  408.                 </div>
  409.             </div>
  410.             <div class=\"col-md-4\">
  411.                 <div class=\"box-widget-wrap fl-wrap fixed-bar\">
  412.                     <div class=\"box-widget-item fl-wrap\">
  413.                         <div class=\"box-widget\">
  414.                             <div class=\"box-widget-content\">
  415.                                 <div class=\"box-widget-item-header mb-3\">
  416.                                     <h3> Demander un devis </h3>
  417.                                 </div>
  418.                                 <div class=\"text-left\">
  419.                                     <p>Location d'autocar, minibus, voiture privée et sanitaire avec chauffeur pour tous vos déplacements</p>
  420.                                     <p>Avec Ryvup, trouver votre transport sur mesure !</p>
  421.                                 </div>
  422.                                 <div class=\"text-left\">
  423.                                     <a href=\"{{ url('app_client_home') }}\" class=\"btn color2-bg mt-3\">
  424.                                        Devis immédiat
  425.                                        <i class=\"fal fa-angle-right\"></i>
  426.                                     </a>
  427.                                 </div>
  428.                             </div>
  429.                         </div>
  430.                     </div>
  431.                     <div class=\"box-widget-item fl-wrap\">
  432.                         <div class=\"box-widget widget-posts\">
  433.                             <div class=\"box-widget-content\">
  434.                                 <div class=\"box-widget-item-header\">
  435.                                     <h3>Articles similaires</h3>
  436.                                 </div>
  437.                                 {% for article in lastArticles %}
  438.                                 <div class=\"box-image-widget\">
  439.                                     <div class=\"box-image-widget-media\">
  440.                                         {% if article.image %}
  441.                                         <img src=\"{{ asset('/uploads/files/articles/' ~ article.image) | imagine_filter('115x76') }}\" alt=\"{{ article.title }}\">
  442.                                         {% else %}
  443.                                         <img src=\"{{ asset('front/images/all/ryvup.jpeg') | imagine_filter('115x76') }}\" alt=\"{{ article.title }}\">
  444.                                         {% endif %}
  445.                                         <a href=\"{{ url('app_front_blog_read', {'cat_slug': article.category.slug, 'slug': article.slug}) }}\" class=\"color-bg\">Détails</a>
  446.                                     </div>
  447.                                     <div class=\"box-image-widget-details\">
  448.                                         <h4>{{ article.title }}</h4>
  449.                                         <span class=\"widget-posts-date\">
  450.                                             <i class=\"fal fa-calendar\"></i> 
  451.                                             {% if article.updatedAt %}
  452.                                                 Modifié le {{ article.updatedAt | format_datetime(locale='fr', pattern=\"dd MMMM YYYY\") }}
  453.                                             {% else %}
  454.                                                 Publié le {{ article.createdAt | format_datetime(locale='fr', pattern=\"dd MMMM YYYY\") }}
  455.                                             {% endif %}
  456.                                         </span>
  457.                                     </div>
  458.                                 </div>    
  459.                                 {% endfor %}                            
  460.                             </div>
  461.                         </div>
  462.                     </div>
  463.                     <div class=\"box-widget-item fl-wrap\">
  464.                         <div class=\"box-widget\">
  465.                             <div class=\"box-widget-content\">
  466.                                 <div class=\"box-widget-item-header\">
  467.                                     <h3>Catégories</h3>
  468.                                 </div>
  469.                                 <ul class=\"cat-item\">
  470.                                     {% set id = article.category.id %}
  471.                                     {% for category in categories %}
  472.                                         {% if category.id != id %}
  473.                                         <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>
  474.                                         {% endif %}
  475.                                     {% endfor %}
  476.                                 </ul>
  477.                             </div>
  478.                         </div>
  479.                     </div>
  480.                 </div>
  481.             </div>
  482.         </div>
  483.     </div>
  484. </section>
  485. {% endblock %}""front/blog/read.html.twig""/var/www/vhosts/resoh.fr/httpdocs/templates/front/blog/read.html.twig");
  486.     }
  487. }