<?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/theme1/page_cms.html.twig */
class __TwigTemplate_75f7f2a5d6a4b74a4dcf559c329fc5c3fdd66a4dba07b0359d9ac94801948055 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'preload' => [$this, 'block_preload'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((("front/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "server", [], "any", false, false, false, 1), "get", [0 => "APP_THEME"], "method", false, false, false, 1)) . "/base.html.twig"), "front/theme1/page_cms.html.twig", 1);
}
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/theme1/page_cms.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/theme1/page_cms.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_preload($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", "preload"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preload"));
// line 4
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["post"] ?? null), "image", [], "any", true, true, false, 4) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 4, $this->source); })()), "image", [], "any", false, false, false, 4)))) {
// line 5
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 5, $this->source); })()), "image", [], "any", false, false, false, 5)) {
// line 6
echo " <link rel=\"preload\" as=\"image\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 6, $this->source); })()), "image", [], "any", false, false, false, 6)), "html", null, true);
echo "\" />
";
}
// line 8
echo " ";
}
// line 9
echo "
";
// line 10
if ((array_key_exists("galleries", $context) && !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 10, $this->source); })())))) {
// line 11
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 11, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 12
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["item"], "path", [], "any", true, true, false, 12)) {
// line 13
echo " <link rel=\"preload\" as=\"image\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageGalleryFunction(twig_get_attribute($this->env, $this->source, $context["item"], "path", [], "any", false, false, false, 13)), "html", null, true);
echo "\" />
";
}
// line 15
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 16
echo " ";
}
// line 17
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 20
public function block_stylesheets($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", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 21
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
// line 22
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["modele_galerie"]) || array_key_exists("modele_galerie", $context) ? $context["modele_galerie"] : (function () { throw new RuntimeError('Variable "modele_galerie" does not exist.', 22, $this->source); })()), 0, [], "array", false, false, false, 22), "type", [], "any", false, false, false, 22) == 4)) {
// line 23
echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/flexslider.css"), "html", null, true);
echo "\" media=\"screen\" >
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 27
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 28
echo "
";
// line 29
$context["titre_page"] = twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 29, $this->source); })()), "title", [], "any", false, false, false, 29);
// line 30
echo "
";
// line 31
if (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 31, $this->source); })()), "imageBandeau", [], "any", false, false, false, 31)) {
// line 32
echo " ";
$context["imagebandeau"] = twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 32, $this->source); })()), "imageBandeau", [], "any", false, false, false, 32);
// line 33
echo " ";
} elseif (twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 33, $this->source); })()), "imageBandeau", [], "any", false, false, false, 33)) {
// line 34
echo " ";
$context["imagebandeau"] = ("uploads/images/" . twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 34, $this->source); })()), "imageBandeau", [], "any", false, false, false, 34));
// line 35
echo " ";
} else {
// line 36
echo " ";
$context["imagebandeau"] = "";
// line 37
echo " ";
}
// line 38
echo "
";
// line 39
if (((isset($context["imagebandeau"]) || array_key_exists("imagebandeau", $context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.', 39, $this->source); })()) != "")) {
// line 40
echo " <section class=\"image-bandeau text-center\">
<img class=\"lazyload\" alt=\"";
// line 41
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 41, $this->source); })()), "title", [], "any", false, false, false, 41), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 41, $this->source); })()), "title", [], "any", false, false, false, 41), "html", null, true);
echo "\" data-srcset=\"";
echo twig_escape_filter($this->env, (isset($context["imagebandeau"]) || array_key_exists("imagebandeau", $context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.', 41, $this->source); })()), "html", null, true);
echo "\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["imagebandeau"]) || array_key_exists("imagebandeau", $context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.', 41, $this->source); })())), "html", null, true);
echo "\" />
<div class=\"cnt-bandeau text-center\">
\t\t\t\t<div class=\"container-fluid wrapper\">
<ol class=\"breadcrumb d-flex justify-content-center\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
<li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
// line 45
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index_page_home");
echo "\" itemprop=\"item\"><span itemprop=\"name\">";
echo (isset($context["title_home_ariane"]) || array_key_exists("title_home_ariane", $context) ? $context["title_home_ariane"] : (function () { throw new RuntimeError('Variable "title_home_ariane" does not exist.', 45, $this->source); })());
echo "</span></a><meta itemprop=\"position\" content=\"1\" /></li>
";
// line 46
$context["niveau"] = 2;
// line 47
echo " ";
if ((isset($context["categorieTree"]) || array_key_exists("categorieTree", $context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.', 47, $this->source); })())) {
// line 48
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["categorieTree"]) || array_key_exists("categorieTree", $context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.', 48, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 49
echo " <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 49)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 49), ["<span>" => " ", "</span>" => " "]), "html", null, true);
echo "\" itemprop=\"item\"><span itemprop=\"name\">";
echo twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 49);
echo "</span></a><meta itemprop=\"position\" content=\"2\" /></li>
";
// line 50
$context["niveau"] = 3;
// line 51
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["item"], "child", [], "any", true, true, false, 51)) {
// line 52
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["item"], "child", [], "any", false, false, false, 52));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 53
echo " <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 53)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 53), ["<span>" => " ", "</span>" => " "]), "html", null, true);
echo "\" itemprop=\"item\"><span itemprop=\"name\">";
echo twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 53);
echo "</span></a><meta itemprop=\"position\" content=\"3\" /></li>
";
// line 54
$context["niveau"] = 4;
// line 55
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 56
echo " ";
}
// line 57
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 58
echo " ";
}
// line 59
echo " <li class=\"breadcrumb-item active\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><span itemprop=\"name\">";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 59, $this->source); })()), "breadcrumb", [], "any", false, false, false, 59))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 59, $this->source); })()), "breadcrumb", [], "any", false, false, false, 59), "html", null, true);
} else {
echo twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 59, $this->source); })()), "title", [], "any", false, false, false, 59);
}
echo "</span><meta itemprop=\"position\" content=\"";
echo twig_escape_filter($this->env, (isset($context["niveau"]) || array_key_exists("niveau", $context) ? $context["niveau"] : (function () { throw new RuntimeError('Variable "niveau" does not exist.', 59, $this->source); })()), "html", null, true);
echo "\" /></li>
</ol>
<h1 class=\"page-title\">";
// line 61
echo twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 61, $this->source); })()), "title", [], "any", false, false, false, 61);
echo "</h1>
</div>
</div>
</section>
";
}
// line 66
echo " ";
$context["bgimage"] = ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 66, $this->source); })()), "imageCouverture", [], "any", false, false, false, 66)) ? (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 66, $this->source); })()), "imageCouverture", [], "any", false, false, false, 66)) : (""));
// line 67
echo " <div class=\"page_cms pt-5\" ";
if ((isset($context["bgimage"]) || array_key_exists("bgimage", $context) ? $context["bgimage"] : (function () { throw new RuntimeError('Variable "bgimage" does not exist.', 67, $this->source); })())) {
echo "style=\"background-image:url('";
echo twig_escape_filter($this->env, (isset($context["bgimage"]) || array_key_exists("bgimage", $context) ? $context["bgimage"] : (function () { throw new RuntimeError('Variable "bgimage" does not exist.', 67, $this->source); })()), "html", null, true);
echo "');background-repeat: no-repeat;background-size:cover;\"";
}
echo " >
";
// line 68
if (((isset($context["imagebandeau"]) || array_key_exists("imagebandeau", $context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.', 68, $this->source); })()) == "")) {
// line 69
echo " <div class=\"breadcrumb-style-default\">
<div class=\"container-fluid wrapper\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"inner text-center\">
<ol class=\"breadcrumb d-flex justify-content-center\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
<li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
// line 75
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index_page_home");
echo "\" itemprop=\"item\"><span itemprop=\"name\">";
echo (isset($context["title_home_ariane"]) || array_key_exists("title_home_ariane", $context) ? $context["title_home_ariane"] : (function () { throw new RuntimeError('Variable "title_home_ariane" does not exist.', 75, $this->source); })());
echo "</span></a><meta itemprop=\"position\" content=\"1\" /></li>
";
// line 76
$context["niveau"] = 2;
// line 77
echo " ";
if ((isset($context["categorieTree"]) || array_key_exists("categorieTree", $context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.', 77, $this->source); })())) {
// line 78
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["categorieTree"]) || array_key_exists("categorieTree", $context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.', 78, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 79
echo " <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 79)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 79), ["<span>" => " ", "</span>" => " "]), "html", null, true);
echo "\" itemprop=\"item\"><span itemprop=\"name\">";
echo twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 79);
echo "</span></a><meta itemprop=\"position\" content=\"2\" /></li>
";
// line 80
$context["niveau"] = 3;
// line 81
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["item"], "child", [], "any", true, true, false, 81)) {
// line 82
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["item"], "child", [], "any", false, false, false, 82));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 83
echo " <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 83)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 83), ["<span>" => " ", "</span>" => " "]), "html", null, true);
echo "\" itemprop=\"item\"><span itemprop=\"name\">";
echo twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 83);
echo "</span></a><meta itemprop=\"position\" content=\"3\" /></li>
";
// line 84
$context["niveau"] = 4;
// line 85
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 86
echo " ";
}
// line 87
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 88
echo " ";
}
// line 89
echo " <li class=\"breadcrumb-item active\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><span itemprop=\"name\">";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 89, $this->source); })()), "breadcrumb", [], "any", false, false, false, 89))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 89, $this->source); })()), "breadcrumb", [], "any", false, false, false, 89), "html", null, true);
} else {
echo twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 89, $this->source); })()), "title", [], "any", false, false, false, 89);
}
echo "</span><meta itemprop=\"position\" content=\"";
echo twig_escape_filter($this->env, (isset($context["niveau"]) || array_key_exists("niveau", $context) ? $context["niveau"] : (function () { throw new RuntimeError('Variable "niveau" does not exist.', 89, $this->source); })()), "html", null, true);
echo "\" /></li>
</ol>
<h1 class=\"page-title\">";
// line 92
echo twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 92, $this->source); })()), "title", [], "any", false, false, false, 92);
echo "</h1>
</div>
</div>
</div>
</div>
</div>
";
}
// line 99
echo "
";
// line 100
if ((((((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 100, $this->source); })()), "summary", [], "any", false, false, false, 100) != "") || !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 100, $this->source); })()), "image", [], "any", false, false, false, 100))) || (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 100, $this->source); })()), "content", [], "any", false, false, false, 100) != "")) || !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 100, $this->source); })()))) || !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 100, $this->source); })()), "urlvideo", [], "any", false, false, false, 100)))) {
// line 101
echo " <section class=\"content-page\">
<div class=\"container-fluid wrapper mt-3\">
<div id=\"post-";
// line 103
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 103, $this->source); })()), "id", [], "any", false, false, false, 103), "html", null, true);
echo "\" class=\"bloc-texte-principal gx-5 py-2\">
";
// line 105
if ((( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 105, $this->source); })()), "summary", [], "any", false, false, false, 105)) && (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 105, $this->source); })()), "summary", [], "any", false, false, false, 105) != "")) && ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 105, $this->source); })()), "positionimage", [], "any", false, false, false, 105) != 2) && (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 105, $this->source); })()), "positionimage", [], "any", false, false, false, 105) != 3)))) {
// line 106
echo " <div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">";
// line 107
echo twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 107, $this->source); })()), "summary", [], "any", false, false, false, 107);
echo "</h2>
</div>
";
}
// line 110
echo "
";
// line 111
$context["position_image"] = twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 111, $this->source); })()), "positionimage", [], "any", false, false, false, 111);
// line 112
echo " ";
$context["class_position"] = "";
// line 113
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 113, $this->source); })()), "positionimage", [], "any", false, false, false, 113) == 2)) {
// line 114
echo " ";
$context["class_position"] = "float-md-left mb-2 mr-md-3";
// line 115
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 115, $this->source); })()), "positionimage", [], "any", false, false, false, 115) == 3)) {
// line 116
echo " ";
$context["class_position"] = "float-md-right mb-2 ml-md-3";
// line 117
echo " ";
}
// line 118
echo "
";
// line 120
if ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 120, $this->source); })()), "image", [], "any", false, false, false, 120) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 120, $this->source); })()), "image", [], "any", false, false, false, 120)))) {
// line 121
echo " <div class=\"col-image-post text-center my-4 ";
echo twig_escape_filter($this->env, (isset($context["class_position"]) || array_key_exists("class_position", $context) ? $context["class_position"] : (function () { throw new RuntimeError('Variable "class_position" does not exist.', 121, $this->source); })()), "html", null, true);
echo "\">
<img class=\"lazyload img-fluid principal-img\" src=\"";
// line 122
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 122, $this->source); })()), "image", [], "any", false, false, false, 122)), "html", null, true);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 122, $this->source); })()), "title", [], "any", false, false, false, 122);
echo "\" />
</div>
";
}
// line 125
echo "
";
// line 126
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 126, $this->source); })()), "content", [], "any", false, false, false, 126)) && (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 126, $this->source); })()), "content", [], "any", false, false, false, 126) != ""))) {
// line 127
echo " <div class=\"content_post\">
";
// line 128
if ((( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 128, $this->source); })()), "summary", [], "any", false, false, false, 128)) && (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 128, $this->source); })()), "summary", [], "any", false, false, false, 128) != "")) && ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 128, $this->source); })()), "positionimage", [], "any", false, false, false, 128) == 2) || (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 128, $this->source); })()), "positionimage", [], "any", false, false, false, 128) == 3)))) {
// line 129
echo " <div class=\"col-sm-12\">
<h2 class=\"sub-title wow\">";
// line 130
echo twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 130, $this->source); })()), "summary", [], "any", false, false, false, 130);
echo "</h2>
</div>
";
}
// line 133
echo "
";
// line 134
$context["lien_site"] = (((((("<a href=" . $this->extensions['App\Twig\FunctionExtension']->urlSite()) . " title=") . twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 134, $this->source); })()), "titre", [], "any", false, false, false, 134)) . ">") . $this->extensions['App\Twig\FunctionExtension']->urlSite()) . "</a>");
// line 135
echo "
<div class=\"texte-content\">";
// line 136
echo twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 136, $this->source); })()), "content", [], "any", false, false, false, 136), ["[NDD]" => (isset($context["lien_site"]) || array_key_exists("lien_site", $context) ? $context["lien_site"] : (function () { throw new RuntimeError('Variable "lien_site" does not exist.', 136, $this->source); })())]);
echo "</div>
";
// line 138
if ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 138, $this->source); })()), "typelien", [], "any", false, false, false, 138) == null)) {
// line 139
echo " ";
if ((array_key_exists("categorieTree", $context) && twig_get_attribute($this->env, $this->source, ($context["categorieTree"] ?? null), 0, [], "array", true, true, false, 139))) {
// line 140
echo " <div class=\"text-center py-2\">
<a href=\"";
// line 141
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["categorieTree"]) || array_key_exists("categorieTree", $context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.', 141, $this->source); })()), 0, [], "array", false, false, false, 141), "slug", [], "any", false, false, false, 141)]), "html", null, true);
echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">Retour à la liste ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["categorieTree"]) || array_key_exists("categorieTree", $context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.', 141, $this->source); })()), 0, [], "array", false, false, false, 141), "titre", [], "any", false, false, false, 141), "html", null, true);
echo "</a>
</div>
";
}
// line 144
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 144, $this->source); })()), "typelien", [], "any", false, false, false, 144) != 1)) {
// line 145
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 145, $this->source); })()), "typelien", [], "any", false, false, false, 145) == "4")) {
// line 146
echo " <div class=\"text-center py-2\">
<a href=\"tel:";
// line 147
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 147, $this->source); })()), "telephone", [], "any", false, false, false, 147), "html", null, true);
echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 147, $this->source); })()), "titrelien", [], "any", false, false, false, 147), "html", null, true);
echo "</a>
</div>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 149
(isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 149, $this->source); })()), "typelien", [], "any", false, false, false, 149) == "2")) {
// line 150
echo " <div class=\"text-center py-2\">
<a href=\"";
// line 151
echo twig_escape_filter($this->env, $this->extensions['App\Twig\FunctionExtension']->slugLinkInterneFunction(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 151, $this->source); })()), "lieninterne", [], "any", false, false, false, 151)), "html", null, true);
echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 151, $this->source); })()), "titrelien", [], "any", false, false, false, 151), "html", null, true);
echo "</a>
</div>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 153
(isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 153, $this->source); })()), "typelien", [], "any", false, false, false, 153) == "3")) {
// line 154
echo " <div class=\"text-center py-2\">
<a href=\"";
// line 155
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 155, $this->source); })()), "lienexterne", [], "any", false, false, false, 155), "html", null, true);
echo "\" target=\"_blank\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 155, $this->source); })()), "titrelien", [], "any", false, false, false, 155), "html", null, true);
echo "</a>
</div>
";
}
// line 158
echo " ";
}
// line 159
echo "
";
// line 161
echo " ";
if ((array_key_exists("all_others_posts_associes", $context) && !twig_test_empty((isset($context["all_others_posts_associes"]) || array_key_exists("all_others_posts_associes", $context) ? $context["all_others_posts_associes"] : (function () { throw new RuntimeError('Variable "all_others_posts_associes" does not exist.', 161, $this->source); })())))) {
// line 162
echo " <div class=\"others-posts mt-3\">
";
// line 163
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["all_others_posts_associes"]) || array_key_exists("all_others_posts_associes", $context) ? $context["all_others_posts_associes"] : (function () { throw new RuntimeError('Variable "all_others_posts_associes" does not exist.', 163, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 164
echo " <div class=\"other-post\">
<a class=\"article-titre\" href=\"";
// line 165
(((twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 165) == "home")) ? (print ("/")) : (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 165), "html", null, true))));
echo "\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 165);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 165);
echo "</a>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 168
echo " </div>
";
}
// line 170
echo " ";
// line 171
echo "
";
// line 172
if (((isset($context["docs"]) || array_key_exists("docs", $context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.', 172, $this->source); })()) && !twig_test_empty((isset($context["docs"]) || array_key_exists("docs", $context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.', 172, $this->source); })())))) {
// line 173
echo " <div class=\"col-md-12 bloc-docs d-flex justify-content-center\">
";
// line 174
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["docs"]) || array_key_exists("docs", $context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.', 174, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["doc"]) {
// line 175
echo " <a class=\"btn-back-pulse m-2\" href=\"";
echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, $context["doc"], "location", [], "any", false, false, false, 175) . twig_get_attribute($this->env, $this->source, $context["doc"], "path", [], "any", false, false, false, 175)) . "/") . twig_get_attribute($this->env, $this->source, $context["doc"], "fileName", [], "any", false, false, false, 175)), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["doc"], "titre", [], "any", false, false, false, 175), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fa fa-file-pdf-o mr-2\"></i>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["doc"], "titre", [], "any", false, false, false, 175), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['doc'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 177
echo " </div>
";
}
// line 179
echo "
";
// line 181
echo " ";
if ((array_key_exists("champsPersonnalisesPost", $context) && !twig_test_empty((isset($context["champsPersonnalisesPost"]) || array_key_exists("champsPersonnalisesPost", $context) ? $context["champsPersonnalisesPost"] : (function () { throw new RuntimeError('Variable "champsPersonnalisesPost" does not exist.', 181, $this->source); })())))) {
// line 182
echo " <div class=\"sx-social-icons mt-3 col-md-12 text-center\">
";
// line 183
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["champsPersonnalisesPost"]) || array_key_exists("champsPersonnalisesPost", $context) ? $context["champsPersonnalisesPost"] : (function () { throw new RuntimeError('Variable "champsPersonnalisesPost" does not exist.', 183, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["champ_personnalise_post"]) {
// line 184
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["champ_personnalise_post"], "value", [], "any", false, false, false, 184) != "")) {
// line 185
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["champ_personnalise_post"], "type", [], "any", false, false, false, 185) == "link")) {
// line 186
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["champ_personnalise_post"], "alias", [], "any", false, false, false, 186) == "lien-instagram")) {
// line 187
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["champ_personnalise_post"], "value", [], "any", false, false, false, 187), "html", null, true);
echo "\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-instagram\"></i></a>
";
}
// line 189
echo "
";
// line 190
if ((twig_get_attribute($this->env, $this->source, $context["champ_personnalise_post"], "alias", [], "any", false, false, false, 190) == "lien-linkedin")) {
// line 191
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["champ_personnalise_post"], "value", [], "any", false, false, false, 191), "html", null, true);
echo "\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-linkedin\"></i></a>
";
}
// line 193
echo "
";
// line 194
if ((twig_get_attribute($this->env, $this->source, $context["champ_personnalise_post"], "alias", [], "any", false, false, false, 194) == "lien-facebook")) {
// line 195
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["champ_personnalise_post"], "value", [], "any", false, false, false, 195), "html", null, true);
echo "\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-facebook\"></i></a>
";
}
// line 197
echo "
";
// line 198
if ((twig_get_attribute($this->env, $this->source, $context["champ_personnalise_post"], "alias", [], "any", false, false, false, 198) == "lien-email")) {
// line 199
echo " <a href=\"mailto:";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["champ_personnalise_post"], "value", [], "any", false, false, false, 199), "html", null, true);
echo "\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-envelope\"></i></a>
";
}
// line 201
echo "
";
}
// line 203
echo "
";
}
// line 205
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['champ_personnalise_post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 207
echo " </div>
";
}
// line 209
echo " ";
// line 210
echo "
</div>
";
}
// line 213
echo " </div>
</div>
<div class=\"clearfix\"></div>
";
// line 221
echo "
";
// line 222
if (((((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 222, $this->source); })()) && !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 222, $this->source); })()))) && array_key_exists("template_model_gallerie", $context)) && !twig_test_empty((isset($context["template_model_gallerie"]) || array_key_exists("template_model_gallerie", $context) ? $context["template_model_gallerie"] : (function () { throw new RuntimeError('Variable "template_model_gallerie" does not exist.', 222, $this->source); })())))) {
// line 223
echo " ";
echo twig_include($this->env, $context, twig_template_from_string($this->env, (isset($context["template_model_gallerie"]) || array_key_exists("template_model_gallerie", $context) ? $context["template_model_gallerie"] : (function () { throw new RuntimeError('Variable "template_model_gallerie" does not exist.', 223, $this->source); })())));
echo "
";
}
// line 225
echo "
";
// line 226
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 226, $this->source); })()), "urlvideo", [], "any", false, false, false, 226))) {
// line 227
echo " <div class=\"container-fluid wrapper mt-3\">
<div class=\"col-md-12 mt-1\">
<div class=\"video\">
";
// line 230
$context["id_video_externe"] = twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 230, $this->source); })()), "urlvideo", [], "any", false, false, false, 230), "?v="), 1, [], "array", false, false, false, 230);
// line 231
echo " <a class=\"video-thumbnail m-0\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 231, $this->source); })()), "urlvideo", [], "any", false, false, false, 231), "html", null, true);
echo "\" data-fancybox=\"video\">
<img src=\"https://img.youtube.com/vi/";
// line 232
echo twig_escape_filter($this->env, (isset($context["id_video_externe"]) || array_key_exists("id_video_externe", $context) ? $context["id_video_externe"] : (function () { throw new RuntimeError('Variable "id_video_externe" does not exist.', 232, $this->source); })()), "html", null, true);
echo "/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
</a>
</div>
</div>
</div>
";
}
// line 238
echo "
</section>
";
}
// line 242
echo "
";
// line 244
echo "
";
// line 245
if ((array_key_exists("all_posts_associes", $context) && !twig_test_empty((isset($context["all_posts_associes"]) || array_key_exists("all_posts_associes", $context) ? $context["all_posts_associes"] : (function () { throw new RuntimeError('Variable "all_posts_associes" does not exist.', 245, $this->source); })())))) {
// line 246
echo " <section class=\"\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
";
// line 251
if (twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 251, $this->source); })()), "titreArticleAssocier", [], "any", false, false, false, 251)) {
// line 252
echo " <h2 class=\"sub-title wow\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 252, $this->source); })()), "titreArticleAssocier", [], "any", false, false, false, 252), "html", null, true);
echo "</h2>
";
}
// line 254
echo " </div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3 \">
";
// line 259
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["all_posts_associes"]) || array_key_exists("all_posts_associes", $context) ? $context["all_posts_associes"] : (function () { throw new RuntimeError('Variable "all_posts_associes" does not exist.', 259, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 260
echo " ";
$context["duree"] = 0.1;
// line 261
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["item"]);
foreach ($context['_seq'] as $context["_key"] => $context["item_one"]) {
// line 262
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item_one"], "image", [], "any", false, false, false, 262) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item_one"], "image", [], "any", false, false, false, 262))) : (null));
// line 263
echo "
";
// line 264
$context["image_item"] = ((((isset($context["image_item"]) || array_key_exists("image_item", $context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.', 264, $this->source); })()) != null)) ? ((isset($context["image_item"]) || array_key_exists("image_item", $context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.', 264, $this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" . twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 264, $this->source); })()), "imagevide", [], "any", false, false, false, 264)))));
// line 265
echo "
<div class=\"article wow zoomIn animated\" data-wow-delay=\"";
// line 266
echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 266, $this->source); })()), "html", null, true);
echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url(";
// line 267
echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item", $context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.', 267, $this->source); })()), "html", null, true);
echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
";
// line 269
if (twig_get_attribute($this->env, $this->source, $context["item_one"], "title", [], "any", false, false, false, 269)) {
// line 270
echo " <a class=\"article-titre\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item_one"], "slug", [], "any", false, false, false, 270), "html", null, true);
echo "\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["item_one"], "title", [], "any", false, false, false, 270);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["item_one"], "title", [], "any", false, false, false, 270);
echo "</a>
";
}
// line 271
echo "
";
// line 273
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item_one"], "summary", [], "any", false, false, false, 273))) {
// line 274
echo " <span class=\"article-txt\">
";
// line 275
echo twig_get_attribute($this->env, $this->source, $context["item_one"], "summary", [], "any", false, false, false, 275);
echo "
</span>
";
} else {
// line 278
echo " <span class=\"article-txt\">
";
// line 279
if ((twig_get_attribute($this->env, $this->source, $context["item_one"], "content", [], "any", false, false, false, 279) != "")) {
// line 280
echo " ";
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item_one"], "content", [], "any", false, false, false, 280));
echo "
";
}
// line 282
echo " </span>
";
}
// line 284
echo "
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('";
// line 286
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item_one"], "slug", [], "any", false, false, false, 286), "html", null, true);
echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item_one'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 291
echo " ";
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 291, $this->source); })()) + 0.2);
// line 292
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 293
echo " </section>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 302
echo " ";
// line 303
echo "
";
// line 304
if (array_key_exists("blocs", $context)) {
// line 305
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 305, $this->source); })()), "Bloc", [], "any", false, false, false, 305));
foreach ($context['_seq'] as $context["_key"] => $context["bloc"]) {
// line 306
echo " ";
if (($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() && (twig_get_attribute($this->env, $this->source, $context["bloc"], "mobile", [], "any", false, false, false, 306) == true))) {
// line 307
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 307, $this->source); })()), "request", [], "any", false, false, false, 307), "server", [], "any", false, false, false, 307), "get", [0 => "APP_THEME"], "method", false, false, false, 307)) . "/bloc/bloc.html.twig"), ["bloc" => // line 308
$context["bloc"], "product_interesse" => // line 309
(isset($context["product_interesse"]) || array_key_exists("product_interesse", $context) ? $context["product_interesse"] : (function () { throw new RuntimeError('Variable "product_interesse" does not exist.', 309, $this->source); })()), "annonce_interesse" => // line 310
(isset($context["annonce_interesse"]) || array_key_exists("annonce_interesse", $context) ? $context["annonce_interesse"] : (function () { throw new RuntimeError('Variable "annonce_interesse" does not exist.', 310, $this->source); })())], false);
// line 311
echo "
";
}
// line 313
echo "
";
// line 314
if ((($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isFullView() && ($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() == false)) && (twig_get_attribute($this->env, $this->source, $context["bloc"], "desktop", [], "any", false, false, false, 314) == true))) {
// line 315
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 315, $this->source); })()), "request", [], "any", false, false, false, 315), "server", [], "any", false, false, false, 315), "get", [0 => "APP_THEME"], "method", false, false, false, 315)) . "/bloc/bloc.html.twig"), ["bloc" => // line 316
$context["bloc"], "product_interesse" => // line 317
(isset($context["product_interesse"]) || array_key_exists("product_interesse", $context) ? $context["product_interesse"] : (function () { throw new RuntimeError('Variable "product_interesse" does not exist.', 317, $this->source); })()), "annonce_interesse" => // line 318
(isset($context["annonce_interesse"]) || array_key_exists("annonce_interesse", $context) ? $context["annonce_interesse"] : (function () { throw new RuntimeError('Variable "annonce_interesse" does not exist.', 318, $this->source); })())], false);
// line 319
echo "
";
}
// line 321
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bloc'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 322
echo " ";
}
echo "
";
// line 324
if ((array_key_exists("ref_pages_principal", $context) && !twig_test_empty((isset($context["ref_pages_principal"]) || array_key_exists("ref_pages_principal", $context) ? $context["ref_pages_principal"] : (function () { throw new RuntimeError('Variable "ref_pages_principal" does not exist.', 324, $this->source); })())))) {
// line 325
echo " <section class=\"bg-section-ref\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">";
// line 329
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocactivitearticle", [], "any", true, true, false, 329)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocactivitearticle", [], "any", false, false, false, 329), "")) : ("")), "html", null, true);
echo " </h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3\">
";
// line 335
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["ref_pages_principal"]) || array_key_exists("ref_pages_principal", $context) ? $context["ref_pages_principal"] : (function () { throw new RuntimeError('Variable "ref_pages_principal" does not exist.', 335, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 336
echo " ";
$context["duree"] = 0.1;
// line 337
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 337) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 337))) : (("uploads/images/" . twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 337, $this->source); })()), "imagevide", [], "any", false, false, false, 337))));
// line 338
echo " <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 338, $this->source); })()), "html", null, true);
echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url(";
// line 339
echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item", $context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.', 339, $this->source); })()), "html", null, true);
echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<a class=\"article-titre\" href=\"";
// line 341
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 341)]), "html", null, true);
echo "\" title=\"\" >";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 341), "html", null, true);
echo "</a>
<span class=\"article-txt\">
";
// line 343
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 343))) {
// line 344
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 344);
echo "
";
} else {
// line 346
echo " ";
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 346));
echo "
";
}
// line 348
echo " </span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('";
// line 350
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 350)]), "html", null, true);
echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
";
// line 354
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 354, $this->source); })()) + 0.2);
// line 355
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 356
echo " </section>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 365
echo "
";
// line 366
if ((array_key_exists("ref_pages_secondaire", $context) && !twig_test_empty((isset($context["ref_pages_secondaire"]) || array_key_exists("ref_pages_secondaire", $context) ? $context["ref_pages_secondaire"] : (function () { throw new RuntimeError('Variable "ref_pages_secondaire" does not exist.', 366, $this->source); })())))) {
// line 367
echo " <section class=\"";
echo (((array_key_exists("ref_pages_principal", $context) && twig_test_empty((isset($context["ref_pages_principal"]) || array_key_exists("ref_pages_principal", $context) ? $context["ref_pages_principal"] : (function () { throw new RuntimeError('Variable "ref_pages_principal" does not exist.', 367, $this->source); })())))) ? ("bg-section-ref") : (""));
echo "\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">";
// line 371
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocsousactivitearticle", [], "any", true, true, false, 371)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocsousactivitearticle", [], "any", false, false, false, 371), "")) : ("")), "html", null, true);
echo "</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3\">
";
// line 377
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["ref_pages_secondaire"]) || array_key_exists("ref_pages_secondaire", $context) ? $context["ref_pages_secondaire"] : (function () { throw new RuntimeError('Variable "ref_pages_secondaire" does not exist.', 377, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 378
echo " ";
$context["duree"] = 0.1;
// line 379
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 379) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 379))) : (("uploads/images/" . twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 379, $this->source); })()), "imagevide", [], "any", false, false, false, 379))));
// line 380
echo " <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 380, $this->source); })()), "html", null, true);
echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url(";
// line 381
echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item", $context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.', 381, $this->source); })()), "html", null, true);
echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<a class=\"article-titre\" href=\"";
// line 383
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 383)]), "html", null, true);
echo "\" title=\"\" >";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 383), "html", null, true);
echo "</a>
<span class=\"article-txt\">
";
// line 385
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 385))) {
// line 386
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 386);
echo "
";
} else {
// line 388
echo " ";
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 388));
echo "
";
}
// line 390
echo " </span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('";
// line 392
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 392)]), "html", null, true);
echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
";
// line 396
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 396, $this->source); })()) + 0.2);
// line 397
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 398
echo " </section>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 407
echo "
";
// line 408
if (((array_key_exists("next_article", $context) && !twig_test_empty((isset($context["next_article"]) || array_key_exists("next_article", $context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.', 408, $this->source); })()))) || (array_key_exists("prev_article", $context) && !twig_test_empty((isset($context["prev_article"]) || array_key_exists("prev_article", $context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.', 408, $this->source); })()))))) {
// line 409
echo " <div class=\"container-fluid wrapper mt-3\">
<div class=\"row gx-5 py-4\">
<div class=\"col-lg-12 d-flex justify-content-between\">
<div class=\"\">
";
// line 413
if ((array_key_exists("prev_article", $context) && !twig_test_empty((isset($context["prev_article"]) || array_key_exists("prev_article", $context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.', 413, $this->source); })())))) {
// line 414
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["prev_article"]) || array_key_exists("prev_article", $context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.', 414, $this->source); })()), "slug", [], "any", false, false, false, 414)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["prev_article"]) || array_key_exists("prev_article", $context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.', 414, $this->source); })()), "title", [], "any", false, false, false, 414), ["<span>" => " ", "</span>" => " "]), "html", null, true);
echo "\"><span class=\"signe1\"><i class=\"fa fa-arrow-left\"></i></span> ";
echo twig_get_attribute($this->env, $this->source, (isset($context["prev_article"]) || array_key_exists("prev_article", $context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.', 414, $this->source); })()), "title", [], "any", false, false, false, 414);
echo "</a>
";
}
// line 416
echo " </div>
<div class=\"\">
";
// line 418
if ((array_key_exists("next_article", $context) && !twig_test_empty((isset($context["next_article"]) || array_key_exists("next_article", $context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.', 418, $this->source); })())))) {
// line 419
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["next_article"]) || array_key_exists("next_article", $context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.', 419, $this->source); })()), "slug", [], "any", false, false, false, 419)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["next_article"]) || array_key_exists("next_article", $context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.', 419, $this->source); })()), "title", [], "any", false, false, false, 419), ["<span>" => " ", "</span>" => " "]), "html", null, true);
echo "\">";
echo twig_get_attribute($this->env, $this->source, (isset($context["next_article"]) || array_key_exists("next_article", $context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.', 419, $this->source); })()), "title", [], "any", false, false, false, 419);
echo " <span class=\"signe1\"><i class=\"fa fa-arrow-right\"></i></span></a>
";
}
// line 421
echo " </div>
</div>
</div>
</div>
";
}
// line 426
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 430
public function block_javascripts($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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 431
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js\"></script>
";
// line 436
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["modele_galerie"]) || array_key_exists("modele_galerie", $context) ? $context["modele_galerie"] : (function () { throw new RuntimeError('Variable "modele_galerie" does not exist.', 436, $this->source); })()), 0, [], "array", false, false, false, 436), "type", [], "any", false, false, false, 436) == 4)) {
// line 437
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"";
// line 438
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js"), "html", null, true);
echo "\" ></script>
<script>
/*-------------------------------------------------*/
/* = Sx flexslider
/*-------------------------------------------------*/
if (\$(\".sx_flexslider\").length) {
\$('.flex-carousel').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
itemWidth: 150,
asNavFor: '.flex-slider'
});
\$('.flex-slider').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
sync: \".flex-carousel\"
});
}
</script>
";
}
// line 462
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front/theme1/page_cms.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1250 => 462, 1223 => 438, 1218 => 437, 1216 => 436, 1207 => 431, 1197 => 430, 1185 => 426, 1178 => 421, 1168 => 419, 1166 => 418, 1162 => 416, 1152 => 414, 1150 => 413, 1144 => 409, 1142 => 408, 1139 => 407, 1128 => 398, 1122 => 397, 1120 => 396, 1113 => 392, 1109 => 390, 1103 => 388, 1097 => 386, 1095 => 385, 1088 => 383, 1083 => 381, 1078 => 380, 1075 => 379, 1072 => 378, 1068 => 377, 1059 => 371, 1051 => 367, 1049 => 366, 1046 => 365, 1035 => 356, 1029 => 355, 1027 => 354, 1020 => 350, 1016 => 348, 1010 => 346, 1004 => 344, 1002 => 343, 995 => 341, 990 => 339, 985 => 338, 982 => 337, 979 => 336, 975 => 335, 966 => 329, 960 => 325, 958 => 324, 952 => 322, 946 => 321, 942 => 319, 940 => 318, 939 => 317, 938 => 316, 936 => 315, 934 => 314, 931 => 313, 927 => 311, 925 => 310, 924 => 309, 923 => 308, 921 => 307, 918 => 306, 913 => 305, 911 => 304, 908 => 303, 906 => 302, 895 => 293, 889 => 292, 886 => 291, 875 => 286, 871 => 284, 867 => 282, 861 => 280, 859 => 279, 856 => 278, 850 => 275, 847 => 274, 845 => 273, 841 => 271, 831 => 270, 829 => 269, 824 => 267, 820 => 266, 817 => 265, 815 => 264, 812 => 263, 809 => 262, 804 => 261, 801 => 260, 797 => 259, 790 => 254, 784 => 252, 782 => 251, 775 => 246, 773 => 245, 770 => 244, 767 => 242, 761 => 238, 752 => 232, 747 => 231, 745 => 230, 740 => 227, 738 => 226, 735 => 225, 729 => 223, 727 => 222, 724 => 221, 717 => 213, 712 => 210, 710 => 209, 706 => 207, 699 => 205, 695 => 203, 691 => 201, 685 => 199, 683 => 198, 680 => 197, 674 => 195, 672 => 194, 669 => 193, 663 => 191, 661 => 190, 658 => 189, 652 => 187, 649 => 186, 646 => 185, 643 => 184, 639 => 183, 636 => 182, 633 => 181, 630 => 179, 626 => 177, 613 => 175, 609 => 174, 606 => 173, 604 => 172, 601 => 171, 599 => 170, 595 => 168, 582 => 165, 579 => 164, 575 => 163, 572 => 162, 569 => 161, 566 => 159, 563 => 158, 555 => 155, 552 => 154, 550 => 153, 543 => 151, 540 => 150, 538 => 149, 531 => 147, 528 => 146, 525 => 145, 522 => 144, 514 => 141, 511 => 140, 508 => 139, 506 => 138, 501 => 136, 498 => 135, 496 => 134, 493 => 133, 487 => 130, 484 => 129, 482 => 128, 479 => 127, 477 => 126, 474 => 125, 466 => 122, 461 => 121, 459 => 120, 455 => 118, 452 => 117, 449 => 116, 446 => 115, 443 => 114, 440 => 113, 437 => 112, 435 => 111, 432 => 110, 426 => 107, 423 => 106, 421 => 105, 416 => 103, 412 => 101, 410 => 100, 407 => 99, 397 => 92, 384 => 89, 381 => 88, 375 => 87, 372 => 86, 366 => 85, 364 => 84, 355 => 83, 350 => 82, 347 => 81, 345 => 80, 336 => 79, 331 => 78, 328 => 77, 326 => 76, 320 => 75, 312 => 69, 310 => 68, 301 => 67, 298 => 66, 290 => 61, 278 => 59, 275 => 58, 269 => 57, 266 => 56, 260 => 55, 258 => 54, 249 => 53, 244 => 52, 241 => 51, 239 => 50, 230 => 49, 225 => 48, 222 => 47, 220 => 46, 214 => 45, 201 => 41, 198 => 40, 196 => 39, 193 => 38, 190 => 37, 187 => 36, 184 => 35, 181 => 34, 178 => 33, 175 => 32, 173 => 31, 170 => 30, 168 => 29, 165 => 28, 155 => 27, 141 => 23, 139 => 22, 134 => 21, 124 => 20, 113 => 17, 110 => 16, 104 => 15, 98 => 13, 95 => 12, 90 => 11, 88 => 10, 85 => 9, 82 => 8, 76 => 6, 73 => 5, 70 => 4, 60 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
{% block preload %}
{% if post.image is defined and post.image is not empty %}
{% if post.image %}
<link rel=\"preload\" as=\"image\" href=\"{{asset_image(post.image)}}\" />
{% endif %}
{% endif %}
{% if galleries is defined and galleries is not empty %}
{% for item in galleries %}
{% if item.path is defined %}
<link rel=\"preload\" as=\"image\" href=\"{{asset_image_gallery(item.path)}}\" />
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}
{% block stylesheets %}
{{parent()}}
{% if modele_galerie[0].type == 4 %}
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{asset('templates/front/theme1/assets/plugins/flexslider/flexslider.css')}}\" media=\"screen\" >
{% endif %}
{% endblock %}
{% block body %}
{% set titre_page = post.title %}
{% if post.imageBandeau %}
{% set imagebandeau = post.imageBandeau %}
{% elseif parametre.imageBandeau %}
{% set imagebandeau = 'uploads/images/' ~ parametre.imageBandeau %}
{% else %}
{% set imagebandeau = '' %}
{% endif %}
{% if imagebandeau != '' %}
<section class=\"image-bandeau text-center\">
<img class=\"lazyload\" alt=\"{{post.title}}\" title=\"{{post.title}}\" data-srcset=\"{{imagebandeau}}\" src=\"{{asset(imagebandeau)}}\" />
<div class=\"cnt-bandeau text-center\">
\t\t\t\t<div class=\"container-fluid wrapper\">
<ol class=\"breadcrumb d-flex justify-content-center\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
<li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('index_page_home')}}\" itemprop=\"item\"><span itemprop=\"name\">{{title_home_ariane|raw}}</span></a><meta itemprop=\"position\" content=\"1\" /></li>
{% set niveau = 2 %}
{% if categorieTree %}
{% for item in categorieTree %}
<li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre|replace({'<span>':' ','</span>':' '})}}\" itemprop=\"item\"><span itemprop=\"name\">{{item.titre|raw}}</span></a><meta itemprop=\"position\" content=\"2\" /></li>
{% set niveau = 3 %}
{% if item.child is defined %}
{% for item in item.child %}
<li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre|replace({'<span>':' ','</span>':' '})}}\" itemprop=\"item\"><span itemprop=\"name\">{{item.titre|raw}}</span></a><meta itemprop=\"position\" content=\"3\" /></li>
{% set niveau = 4 %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
<li class=\"breadcrumb-item active\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><span itemprop=\"name\">{% if post.breadcrumb is not empty %}{{post.breadcrumb}}{% else %}{{post.title|raw}}{% endif %}</span><meta itemprop=\"position\" content=\"{{niveau}}\" /></li>
</ol>
<h1 class=\"page-title\">{{post.title|raw}}</h1>
</div>
</div>
</section>
{% endif %}
{% set bgimage = post.imageCouverture ? post.imageCouverture : \"\" %}
<div class=\"page_cms pt-5\" {% if bgimage %}style=\"background-image:url('{{bgimage}}');background-repeat: no-repeat;background-size:cover;\"{% endif %} >
{% if imagebandeau == '' %}
<div class=\"breadcrumb-style-default\">
<div class=\"container-fluid wrapper\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"inner text-center\">
<ol class=\"breadcrumb d-flex justify-content-center\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
<li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('index_page_home')}}\" itemprop=\"item\"><span itemprop=\"name\">{{title_home_ariane|raw}}</span></a><meta itemprop=\"position\" content=\"1\" /></li>
{% set niveau = 2 %}
{% if categorieTree %}
{% for item in categorieTree %}
<li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre|replace({'<span>':' ','</span>':' '})}}\" itemprop=\"item\"><span itemprop=\"name\">{{item.titre|raw}}</span></a><meta itemprop=\"position\" content=\"2\" /></li>
{% set niveau = 3 %}
{% if item.child is defined %}
{% for item in item.child %}
<li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre|replace({'<span>':' ','</span>':' '})}}\" itemprop=\"item\"><span itemprop=\"name\">{{item.titre|raw}}</span></a><meta itemprop=\"position\" content=\"3\" /></li>
{% set niveau = 4 %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
<li class=\"breadcrumb-item active\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><span itemprop=\"name\">{% if post.breadcrumb is not empty %}{{post.breadcrumb}}{% else %}{{post.title|raw}}{% endif %}</span><meta itemprop=\"position\" content=\"{{niveau}}\" /></li>
</ol>
<h1 class=\"page-title\">{{post.title|raw}}</h1>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% if post.summary != \"\" or post.image is not empty or post.content != \"\" or galleries is not empty or post.urlvideo is not empty %}
<section class=\"content-page\">
<div class=\"container-fluid wrapper mt-3\">
<div id=\"post-{{post.id}}\" class=\"bloc-texte-principal gx-5 py-2\">
{% if post.summary is not empty and post.summary != \"\" and (post.positionimage != 2 and post.positionimage != 3) %}
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">{{post.summary|raw}}</h2>
</div>
{% endif %}
{% set position_image = post.positionimage %}
{% set class_position = \"\" %}
{% if post.positionimage == 2 %}
{% set class_position = \"float-md-left mb-2 mr-md-3\" %}
{% elseif post.positionimage == 3 %}
{% set class_position = \"float-md-right mb-2 ml-md-3\" %}
{% endif %}
{% if post.image and post.image is not empty %}
<div class=\"col-image-post text-center my-4 {{class_position}}\">
<img class=\"lazyload img-fluid principal-img\" src=\"{{asset_image(post.image)}}\" alt=\"{{post.title|raw}}\" />
</div>
{% endif %}
{% if post.content is not empty and post.content != \"\" %}
<div class=\"content_post\">
{% if post.summary is not empty and post.summary != \"\" and (post.positionimage == 2 or post.positionimage == 3) %}
<div class=\"col-sm-12\">
<h2 class=\"sub-title wow\">{{post.summary|raw}}</h2>
</div>
{% endif %}
{% set lien_site = \"<a href=\"~url_site()~\" title=\"~parametre.titre~\">\"~url_site()~\"</a>\" %}
<div class=\"texte-content\">{{post.content|replace({'[NDD]':lien_site})|raw}}</div>
{% if post.typelien == null %}
{% if categorieTree is defined and categorieTree[0] is defined %}
<div class=\"text-center py-2\">
<a href=\"{{path('page',{slug:categorieTree[0].slug})}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">Retour à la liste {{categorieTree[0].titre}}</a>
</div>
{% endif %}
{% elseif post.typelien != 1 %}
{% if post.typelien == '4' %}
<div class=\"text-center py-2\">
<a href=\"tel:{{post.telephone}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
</div>
{% elseif post.typelien == '2' %}
<div class=\"text-center py-2\">
<a href=\"{{slug_link_interne(post.lieninterne)}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
</div>
{% elseif post.typelien == '3' %}
<div class=\"text-center py-2\">
<a href=\"{{post.lienexterne}}\" target=\"_blank\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
</div>
{% endif %}
{% endif %}
{# autres articles associés #}
{% if all_others_posts_associes is defined and all_others_posts_associes is not empty %}
<div class=\"others-posts mt-3\">
{% for item in all_others_posts_associes %}
<div class=\"other-post\">
<a class=\"article-titre\" href=\"{{item.slug == \"home\" ? \"/\" : item.slug}}\" title=\"{{item.title|raw}}\">{{item.title|raw}}</a>
</div>
{% endfor %}
</div>
{% endif %}
{# fin autres articles associés #}
{% if docs and docs is not empty %}
<div class=\"col-md-12 bloc-docs d-flex justify-content-center\">
{% for doc in docs %}
<a class=\"btn-back-pulse m-2\" href=\"{{doc.location ~ doc.path ~ '/' ~ doc.fileName}}\" title=\"{{doc.titre}}\" target=\"_blank\"><i class=\"fa fa-file-pdf-o mr-2\"></i>{{doc.titre}}</a>
{% endfor %}
</div>
{% endif %}
{# Debut champs personnalisés#}
{% if champsPersonnalisesPost is defined and champsPersonnalisesPost is not empty %}
<div class=\"sx-social-icons mt-3 col-md-12 text-center\">
{% for champ_personnalise_post in champsPersonnalisesPost %}
{% if champ_personnalise_post.value != \"\" %}
{% if champ_personnalise_post.type == \"link\" %}
{% if champ_personnalise_post.alias == \"lien-instagram\" %}
<a href=\"{{champ_personnalise_post.value}}\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-instagram\"></i></a>
{% endif %}
{% if champ_personnalise_post.alias == \"lien-linkedin\" %}
<a href=\"{{champ_personnalise_post.value}}\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-linkedin\"></i></a>
{% endif %}
{% if champ_personnalise_post.alias == \"lien-facebook\" %}
<a href=\"{{champ_personnalise_post.value}}\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-facebook\"></i></a>
{% endif %}
{% if champ_personnalise_post.alias == \"lien-email\" %}
<a href=\"mailto:{{champ_personnalise_post.value}}\" title=\"champ_personnalise_post.label\" target=\"_blank\"><i class=\"fa fa-envelope\"></i></a>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</div>
{% endif %}
{# Fin champs personnalisés#}
</div>
{% endif %}
</div>
</div>
<div class=\"clearfix\"></div>
{# {% if galleries and galleries is not empty %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/galleries.html.twig',{galleries: galleries,post:post}, with_context = false)}}
{% endif %} #}
{% if galleries and galleries is not empty and template_model_gallerie is defined and template_model_gallerie is not empty %}
{{ include(template_from_string(template_model_gallerie)) }}
{% endif %}
{% if post.urlvideo is not empty %}
<div class=\"container-fluid wrapper mt-3\">
<div class=\"col-md-12 mt-1\">
<div class=\"video\">
{% set id_video_externe = post.urlvideo|split('?v=')[1] %}
<a class=\"video-thumbnail m-0\" href=\"{{post.urlvideo}}\" data-fancybox=\"video\">
<img src=\"https://img.youtube.com/vi/{{id_video_externe}}/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
</a>
</div>
</div>
</div>
{% endif %}
</section>
{% endif %}
{# article associer #}
{% if all_posts_associes is defined and all_posts_associes is not empty %}
<section class=\"\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
{% if parametre.titreArticleAssocier %}
<h2 class=\"sub-title wow\">{{parametre.titreArticleAssocier}}</h2>
{% endif %}
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3 \">
{% for item in all_posts_associes %}
{% set duree = 0.1 %}
{% for item_one in item %}
{% set image_item = item_one.image != null? asset_image(item_one.image): null %}
{% set image_item = image_item != null? image_item :asset('uploads/images/' ~ parametre.imagevide) %}
<div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
{% if item_one.title %}
<a class=\"article-titre\" href=\"{{item_one.slug}}\" title=\"{{item_one.title|raw}}\">{{item_one.title|raw}}</a>
{% endif %}
{% if item_one.summary is not empty %}
<span class=\"article-txt\">
{{item_one.summary|raw}}
</span>
{% else %}
<span class=\"article-txt\">
{% if item_one.content != \"\" %}
{{cutText(item_one.content)|raw}}
{% endif %}
</span>
{% endif %}
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('{{item_one.slug}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
{% endfor %}
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{# fin article associer #}
{% if blocs is defined %}
{% for bloc in blocs.Bloc %}
{% if is_mobile() and bloc.mobile == true %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
bloc: bloc,
product_interesse:product_interesse,
annonce_interesse:annonce_interesse,
}, with_context = false)}}
{% endif %}
{% if is_full_view() and is_mobile() == false and bloc.desktop == true %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
bloc: bloc,
product_interesse:product_interesse,
annonce_interesse:annonce_interesse,
}, with_context = false)}}
{% endif %}
{% endfor %}
{% endif %}
{% if ref_pages_principal is defined and ref_pages_principal is not empty %}
<section class=\"bg-section-ref\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">{{parametreRef.titreblocactivitearticle|default('')}} </h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3\">
{% for item in ref_pages_principal %}
{% set duree = 0.1 %}
{% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
<div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.title}}</a>
<span class=\"article-txt\">
{% if item.summary is not empty %}
{{item.summary|raw}}
{% else %}
{{cutText(item.content)|raw}}
{% endif %}
</span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% if ref_pages_secondaire is defined and ref_pages_secondaire is not empty %}
<section class=\"{{ref_pages_principal is defined and ref_pages_principal is empty?'bg-section-ref':''}}\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">{{parametreRef.titreblocsousactivitearticle|default('')}}</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3\">
{% for item in ref_pages_secondaire %}
{% set duree = 0.1 %}
{% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
<div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.title}}</a>
<span class=\"article-txt\">
{% if item.summary is not empty %}
{{item.summary|raw}}
{% else %}
{{cutText(item.content)|raw}}
{% endif %}
</span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% if next_article is defined and next_article is not empty or prev_article is defined and prev_article is not empty %}
<div class=\"container-fluid wrapper mt-3\">
<div class=\"row gx-5 py-4\">
<div class=\"col-lg-12 d-flex justify-content-between\">
<div class=\"\">
{% if prev_article is defined and prev_article is not empty %}
<a href=\"{{path('page',{'slug':prev_article.slug})}}\" title=\"{{prev_article.title|replace({'<span>':' ','</span>':' '})}}\"><span class=\"signe1\"><i class=\"fa fa-arrow-left\"></i></span> {{prev_article.title|raw}}</a>
{% endif %}
</div>
<div class=\"\">
{% if next_article is defined and next_article is not empty %}
<a href=\"{{path('page',{'slug':next_article.slug})}}\" title=\"{{next_article.title|replace({'<span>':' ','</span>':' '})}}\">{{next_article.title|raw}} <span class=\"signe1\"><i class=\"fa fa-arrow-right\"></i></span></a>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
</div>
{% endblock %}
{% block javascripts %}
{{parent()}}
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js\"></script>
{% if modele_galerie[0].type == 4 %}
{{parent()}}
<script src=\"{{asset('templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js')}}\" ></script>
<script>
/*-------------------------------------------------*/
/* = Sx flexslider
/*-------------------------------------------------*/
if (\$(\".sx_flexslider\").length) {
\$('.flex-carousel').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
itemWidth: 150,
asNavFor: '.flex-slider'
});
\$('.flex-slider').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
sync: \".flex-carousel\"
});
}
</script>
{% endif %}
{% endblock %}
", "front/theme1/page_cms.html.twig", "/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/page_cms.html.twig");
}
}