{% if parametre is not defined %}
{% set parametre = ParametreSite() %}
{% endif %}
<div id="bloc-{{bloc.id}}" class="text-widget text-widget-20">
<section class="sec-bloc2-art espace-p-top espace-p-bottom" {% if bloc.bg_color %}style="background-color:{{bloc.bg_color}};"{% endif %}>
<div class="container-fluid wrapper">
<div class="row align-items-center">
<div class="col-lg-12">
<div class="texte-bloc2 texte-content {{bloc.position == 'left'?'text-left':''}} {{bloc.position == 'right'?'text-right':''}} {{bloc.position == 'center'?'text-center':''}}">
{% if parametre.actiftitre == true %}
<div class="titre_site">{{parametre.titre}}</div>
{% endif %}
{% if bloc.title != "" %}
<h2 class="sub-title">
{{bloc.title}}
</h2>
{% endif %}
{% if bloc.content is not empty %}<div class="texte-content">{{bloc.content|raw}}</div>{% endif %}
{% if bloc.type_lien != 1 and bloc.libelle_lien != '' %}
<div class="lien_article mt-4">
{% if bloc.type_lien == '4' %}
<div class=" py-2">
<a href="tel:{{bloc.telephone}}" class="tel-bloc btn-back-pulse">{{bloc.libelle_lien}}</a>
</div>
{% elseif bloc.type_lien == '2' %}
<div class=" py-2">
<a href="{{slug_link_interne(bloc.lien_interne)}}" class="btn-back-pulse">{{bloc.libelle_lien}}</a>
</div>
{% elseif bloc.type_lien == '3' %}
<div class=" py-2">
<a href="{{bloc.lien_externe}}" class="btn-back-pulse">{{bloc.libelle_lien}}</a>
</div>
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
</div>
</section>
</div>