<?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/read.html.twig */
class __TwigTemplate_3b479c431d6f4233cfed82d4d8b045a3dc09ffba6b6be80bc88f903609401719 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'seo' => [$this, 'block_seo'],
'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/read.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/read.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "front/blog/read.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_seo($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", "seo"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
// line 4
$this->displayParentBlock("seo", $context, $blocks);
echo "
<meta property=\"og:title\" content=\"";
// line 5
echo twig_escape_filter($this->env, 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.', 5, $this->source); })()), "title", [], "any", false, false, false, 5), "html", null, true);
echo " - Blog | Ryvup\">
<meta name=\"keywords\" content=\"";
// line 6
echo twig_escape_filter($this->env, 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.', 6, $this->source); })()), "keywords", [], "any", false, false, false, 6), "html", null, true);
echo "\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 10
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 " ";
echo twig_escape_filter($this->env, 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.', 10, $this->source); })()), "title", [], "any", false, false, false, 10), "html", null, true);
echo " - Blog | ";
$this->displayParentBlock("title", $context, $blocks);
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 12
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 13
echo "<div class=\"breadcrumbs-fs fl-wrap\">
<div class=\"container\">
<div class=\"breadcrumbs fl-wrap\"><a href=\"";
// line 15
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_blog");
echo "\">Blog</a><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, 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.', 15, $this->source); })()), "category", [], "any", false, false, false, 15), "slug", [], "any", false, false, false, 15)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 15, $this->source); })()), "category", [], "any", false, false, false, 15), "name", [], "any", false, false, false, 15), "html", null, true);
echo "</a><span>";
echo twig_escape_filter($this->env, 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.', 15, $this->source); })()), "title", [], "any", false, false, false, 15), "html", null, true);
echo "</span></div>
</div>
</div>
<section class=\"grey-blue-bg small-padding\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-8\">
<div class=\"post-container fl-wrap\">
<article class=\"post-article\">
<div class=\"title-devis\">
<span>";
// line 25
echo twig_escape_filter($this->env, 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.', 25, $this->source); })()), "title", [], "any", false, false, false, 25), "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 32
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", false, false, false, 32)) {
// line 33
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, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 33, $this->source); })()), "image", [], "any", false, false, false, 33))), "806x250"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, 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); })()), "title", [], "any", false, false, false, 33), "html", null, true);
echo "\">
";
} else {
// line 35
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, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 35, $this->source); })()), "title", [], "any", false, false, false, 35), "html", null, true);
echo "\">
";
}
// line 37
echo " </div>
</div>
</div>
</div>
<div class=\"list-single-main-item fl-wrap\">
<div class=\"control-description\">
";
// line 43
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", false, false, false, 43);
echo "
</div>
<div class=\"post-opt\">
<ul>
<li><i class=\"fal fa-tags\"></i> <a href=\"";
// line 47
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, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 47, $this->source); })()), "category", [], "any", false, false, false, 47), "slug", [], "any", false, false, false, 47)]), "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, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 47, $this->source); })()), "category", [], "any", false, false, false, 47), "name", [], "any", false, false, false, 47), "html", null, true);
echo "</a></li>
<li><i class=\"fal fa-calendar\"></i> <span>";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, 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.', 48, $this->source); })()), "createdAt", [], "any", false, false, false, 48), "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>
</div>
</article>
</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 70
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>Articles similaires</h3>
</div>
";
// line 85
$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.', 85, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
// line 86
echo " <div class=\"box-image-widget\">
<div class=\"box-image-widget-media\">
";
// line 88
if (twig_get_attribute($this->env, $this->source, $context["article"], "image", [], "any", false, false, false, 88)) {
// line 89
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, 89))), "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, 89), "html", null, true);
echo "\">
";
} else {
// 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("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, 91), "html", null, true);
echo "\">
";
}
// line 93
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, 93), "slug", [], "any", false, false, false, 93), "slug" => twig_get_attribute($this->env, $this->source, $context["article"], "slug", [], "any", false, false, false, 93)]), "html", null, true);
echo "\" class=\"color-bg\">Détails</a>
</div>
<div class=\"box-image-widget-details\">
<h4>";
// line 96
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "title", [], "any", false, false, false, 96), "html", null, true);
echo "</h4>
<span class=\"widget-posts-date\">
<i class=\"fal fa-calendar\"></i>
";
// line 99
if (twig_get_attribute($this->env, $this->source, $context["article"], "updatedAt", [], "any", false, false, false, 99)) {
// line 100
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, 100), "medium", "medium", "dd MMMM YYYY", null, "gregorian", "fr"), "html", null, true);
echo "
";
} else {
// line 102
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, 102), "medium", "medium", "dd MMMM YYYY", null, "gregorian", "fr"), "html", null, true);
echo "
";
}
// line 104
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 107
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 119
$context["id"] = twig_get_attribute($this->env, $this->source, 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.', 119, $this->source); })()), "category", [], "any", false, false, false, 119), "id", [], "any", false, false, false, 119);
// line 120
echo " ";
$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.', 120, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 121
echo " ";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["category"], "id", [], "any", false, false, false, 121), (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 121, $this->source); })())))) {
// 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>
";
}
// line 124
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 125
echo " </ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/blog/read.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block seo %}
{{ parent() }}
<meta property=\"og:title\" content=\"{{ article.title }} - Blog | Ryvup\">
<meta name=\"keywords\" content=\"{{ article.keywords }}\"/>
{# <meta name=\"description\" content=\"{{ article.content|raw }}\"/> #}
{% endblock %}
{% block title %} {{ article.title }} - Blog | {{ parent() }} {% endblock %}
{% block body %}
<div class=\"breadcrumbs-fs fl-wrap\">
<div class=\"container\">
<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>
</div>
</div>
<section class=\"grey-blue-bg small-padding\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-8\">
<div class=\"post-container fl-wrap\">
<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\">
{{ article.content|raw }}
</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>
</div>
</article>
</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>Articles similaires</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\">
{% set id = article.category.id %}
{% for category in categories %}
{% if category.id != id %}
<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>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{% endblock %}", "front/blog/read.html.twig", "/var/www/vhosts/resoh.fr/httpdocs/templates/front/blog/read.html.twig");
}
}