<?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_activite.html.twig */
class __TwigTemplate_22fb62c4bd2dee3e88b1b9bb09cc7945 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
];
}
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_activite.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/theme1/page_activite.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/theme1/page_activite.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 4
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 9
echo " <div class=\"page_cms page_activite pt-5\">
<div class=\"breadcrumb-style-default\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"inner text-center\">
";
// line 15
if ((array_key_exists("breadcrumb", $context) && !twig_test_empty((isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 15, $this->source); })())))) {
// line 16
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.', 16, $this->source); })()), "request", [], "any", false, false, false, 16), "server", [], "any", false, false, false, 16), "get", [0 => "APP_THEME"], "method", false, false, false, 16)) . "/partials/breadcrumb.html.twig"));
echo "
<h1 class=\"page-title\">";
// line 17
echo twig_escape_filter($this->env, (isset($context["titre_activite"]) || array_key_exists("titre_activite", $context) ? $context["titre_activite"] : (function () { throw new RuntimeError('Variable "titre_activite" does not exist.', 17, $this->source); })()), "html", null, true);
echo "</h1>
";
}
// line 19
echo " </div>
</div>
</div>
</div>
</div>
<div class=\"container-fluid wrapper\">
<div class=\"row\">
<div class=\"col-sm-12\">
<div class=\"text-center\"><h2>";
// line 29
echo twig_escape_filter($this->env, (isset($context["titre"]) || array_key_exists("titre", $context) ? $context["titre"] : (function () { throw new RuntimeError('Variable "titre" does not exist.', 29, $this->source); })()), "html", null, true);
echo "</h2></div>
";
// line 31
if (( !twig_test_empty((isset($context["texte"]) || array_key_exists("texte", $context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.', 31, $this->source); })())) && ((isset($context["texte"]) || array_key_exists("texte", $context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.', 31, $this->source); })()) != " "))) {
// line 32
echo " <div class=\"\"> ";
echo (isset($context["texte"]) || array_key_exists("texte", $context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.', 32, $this->source); })());
echo " </div>
";
}
// line 34
echo "
</div>
</div>
</div>
";
// line 40
if ((array_key_exists("ref_pages", $context) && !twig_test_empty((isset($context["ref_pages"]) || array_key_exists("ref_pages", $context) ? $context["ref_pages"] : (function () { throw new RuntimeError('Variable "ref_pages" does not exist.', 40, $this->source); })())))) {
// line 41
echo " <div class=\"container-fluid wrapper mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">Nos autres prestations autour de ";
// line 44
echo twig_escape_filter($this->env, (isset($context["titre"]) || array_key_exists("titre", $context) ? $context["titre"] : (function () { throw new RuntimeError('Variable "titre" does not exist.', 44, $this->source); })()), "html", null, true);
echo "</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
";
// line 50
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["ref_pages"]) || array_key_exists("ref_pages", $context) ? $context["ref_pages"] : (function () { throw new RuntimeError('Variable "ref_pages" does not exist.', 50, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 51
echo " ";
$context["duree"] = 0.1;
// line 52
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 52) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 52))) : (("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.', 52, $this->source); })()), "imagevide", [], "any", false, false, false, 52))));
// line 53
echo " <a 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.', 53, $this->source); })()), "html", null, true);
echo "s\" 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=\"\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url(";
// line 54
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.', 54, $this->source); })()), "html", null, true);
echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<h3 class=\"article-titre\">";
// line 56
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 56), "html", null, true);
echo "</h3>
<span class=\"article-txt\">
";
// line 58
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 58))) {
// line 59
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 59);
echo "
";
} else {
// line 61
echo " ";
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 61));
echo "
";
}
// line 63
echo " </span>
<span class=\"article-bts\">
<span class=\"article-plus btn-fade\">En savoir plus</span>
</span>
</span>
</a>
";
// line 69
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 69, $this->source); })()) + 0.2);
// line 70
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 71
echo " </section>
</div>
</div>
</div>
</div>
</div>
";
}
// line 79
echo "
";
// line 80
if ((array_key_exists("actualites", $context) && !twig_test_empty((isset($context["actualites"]) || array_key_exists("actualites", $context) ? $context["actualites"] : (function () { throw new RuntimeError('Variable "actualites" does not exist.', 80, $this->source); })())))) {
// line 81
echo " <div class=\"container-fluid wrapper mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">Nos offres / actualités liées</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
";
// line 90
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["actualites"]) || array_key_exists("actualites", $context) ? $context["actualites"] : (function () { throw new RuntimeError('Variable "actualites" does not exist.', 90, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 91
echo " ";
$context["duree"] = 0.1;
// line 92
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 92) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 92))) : (("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.', 92, $this->source); })()), "imagevide", [], "any", false, false, false, 92))));
// line 93
echo " <a 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.', 93, $this->source); })()), "html", null, true);
echo "s\" 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, 93)]), "html", null, true);
echo "\" title=\"\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url(";
// line 94
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.', 94, $this->source); })()), "html", null, true);
echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<h3 class=\"article-titre\">";
// line 96
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 96), "html", null, true);
echo "</h3>
<span class=\"article-txt\">
";
// line 98
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 98))) {
// line 99
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 99);
echo "
";
} else {
// line 101
echo " ";
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 101));
echo "
";
}
// line 103
echo " </span>
<span class=\"article-bts\">
<span class=\"article-plus btn-fade\">En savoir plus</span>
</span>
</span>
</a>
";
// line 109
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 109, $this->source); })()) + 0.2);
// line 110
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 111
echo " </section>
</div>
</div>
</div>
</div>
</div>
";
}
// line 119
echo "
";
// line 121
if ((array_key_exists("secteurs", $context) && !twig_test_empty((isset($context["secteurs"]) || array_key_exists("secteurs", $context) ? $context["secteurs"] : (function () { throw new RuntimeError('Variable "secteurs" does not exist.', 121, $this->source); })())))) {
// line 122
echo " <div class=\"container-fluid wrapper mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">Localités</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
";
// line 131
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["secteurs"]) || array_key_exists("secteurs", $context) ? $context["secteurs"] : (function () { throw new RuntimeError('Variable "secteurs" does not exist.', 131, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 132
echo " ";
$context["duree"] = 0.1;
// line 133
echo " ";
$context["image_item"] = "uploads/images/place.jpg";
// line 134
echo " <a 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.', 134, $this->source); })()), "html", null, true);
echo "s\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_details_localite", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "libelleurl", [], "any", false, false, false, 134)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "titresecteur", [], "any", false, false, false, 134), "html", null, true);
echo "\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url(";
// line 135
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.', 135, $this->source); })()), "html", null, true);
echo "); background-size: contain; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<h3 class=\"article-titre\">";
// line 137
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "titresecteur", [], "any", false, false, false, 137), "html", null, true);
echo "</h3>
<span class=\"article-txt\">
";
// line 139
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "textgenerersecteurfinal", [], "any", false, false, false, 139))) {
// line 140
echo " ";
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "textgenerersecteurfinal", [], "any", false, false, false, 140));
echo "
";
}
// line 142
echo " </span>
<span class=\"article-bts\">
<span class=\"article-plus btn-fade\">En savoir plus</span>
</span>
</span>
</a>
";
// line 148
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 148, $this->source); })()) + 0.2);
// line 149
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 150
echo " </section>
</div>
</div>
</div>
</div>
</div>
";
}
// line 158
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "front/theme1/page_activite.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 390 => 158, 380 => 150, 374 => 149, 372 => 148, 364 => 142, 358 => 140, 356 => 139, 351 => 137, 346 => 135, 337 => 134, 334 => 133, 331 => 132, 327 => 131, 316 => 122, 314 => 121, 310 => 119, 300 => 111, 294 => 110, 292 => 109, 284 => 103, 278 => 101, 272 => 99, 270 => 98, 265 => 96, 260 => 94, 253 => 93, 250 => 92, 247 => 91, 243 => 90, 232 => 81, 230 => 80, 227 => 79, 217 => 71, 211 => 70, 209 => 69, 201 => 63, 195 => 61, 189 => 59, 187 => 58, 182 => 56, 177 => 54, 170 => 53, 167 => 52, 164 => 51, 160 => 50, 151 => 44, 146 => 41, 144 => 40, 136 => 34, 130 => 32, 128 => 31, 123 => 29, 111 => 19, 106 => 17, 101 => 16, 99 => 15, 91 => 9, 81 => 8, 68 => 4, 58 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
{% block stylesheets %}
{{parent()}}
{% endblock %}
{% block body %}
<div class=\"page_cms page_activite pt-5\">
<div class=\"breadcrumb-style-default\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"inner text-center\">
{% if breadcrumb is defined and breadcrumb is not empty %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
<h1 class=\"page-title\">{{titre_activite}}</h1>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class=\"container-fluid wrapper\">
<div class=\"row\">
<div class=\"col-sm-12\">
<div class=\"text-center\"><h2>{{titre}}</h2></div>
{% if texte is not empty and texte != \" \" %}
<div class=\"\"> {{texte|raw}} </div>
{% endif %}
</div>
</div>
</div>
{% if ref_pages is defined and ref_pages is not empty %}
<div class=\"container-fluid wrapper mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">Nos autres prestations autour de {{titre}}</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
{% for item in ref_pages %}
{% set duree = 0.1 %}
{% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
<a class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" 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\">
<h3 class=\"article-titre\">{{item.title}}</h3>
<span class=\"article-txt\">
{% if item.summary is not empty %}
{{item.summary|raw}}
{% else %}
{{cutText(item.content)|raw}}
{% endif %}
</span>
<span class=\"article-bts\">
<span class=\"article-plus btn-fade\">En savoir plus</span>
</span>
</span>
</a>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% if actualites is defined and actualites is not empty %}
<div class=\"container-fluid wrapper mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">Nos offres / actualités liées</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
{% for item in actualites %}
{% set duree = 0.1 %}
{% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
<a class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" 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\">
<h3 class=\"article-titre\">{{item.title}}</h3>
<span class=\"article-txt\">
{% if item.summary is not empty %}
{{item.summary|raw}}
{% else %}
{{cutText(item.content)|raw}}
{% endif %}
</span>
<span class=\"article-bts\">
<span class=\"article-plus btn-fade\">En savoir plus</span>
</span>
</span>
</a>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% if secteurs is defined and secteurs is not empty %}
<div class=\"container-fluid wrapper mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">Localités</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
{% for item in secteurs %}
{% set duree = 0.1 %}
{% set image_item = 'uploads/images/place.jpg' %}
<a class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" href=\"{{path('page_details_localite',{slug:item.libelleurl})}}\" title=\"{{item.titresecteur}}\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url({{image_item}}); background-size: contain; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<h3 class=\"article-titre\">{{item.titresecteur}}</h3>
<span class=\"article-txt\">
{% if item.textgenerersecteurfinal is not empty %}
{{cutText(item.textgenerersecteurfinal)|raw}}
{% endif %}
</span>
<span class=\"article-bts\">
<span class=\"article-plus btn-fade\">En savoir plus</span>
</span>
</span>
</a>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
{% endif %}
</div>
{% endblock %}
", "front/theme1/page_activite.html.twig", "/var/www/vhosts/hrz.fr/new-site.hrz.fr/templates/front/theme1/page_activite.html.twig");
}
}