2022-07-19 09:14:46 +02:00
|
|
|
{{ $data := index site.Data site.Language.Lang }}
|
|
|
|
|
|
|
|
{{ if $data.cta.cta.enable}}
|
|
|
|
{{ with $data.cta.cta}}
|
|
|
|
{{"<!-- Start Call To Action -->" | safeHTML}}
|
2022-10-05 16:29:46 +02:00
|
|
|
<section id="modalites" class="call-to-action section bg-one" style='background-image: url("{{ .bg_image_webp | absURL }}")'>
|
2022-07-19 09:14:46 +02:00
|
|
|
<!-- this image is for trigger this section fallback background image -->
|
|
|
|
<img src="{{ .bg_image_webp | absURL }}" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2022-10-05 11:32:59 +02:00
|
|
|
<div class="col-lg-12">
|
2022-10-05 17:19:30 +02:00
|
|
|
<div class="p-3">
|
|
|
|
<h2>{{ .title | markdownify }}</h2>
|
|
|
|
<p>{{ .content | markdownify }}</p>
|
|
|
|
{{ if .button.enable }}
|
|
|
|
{{ with .button }}
|
|
|
|
<a href="{{ .link }}" class="btn btn-main page-scroll">{{ .label }}</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ with .call_to_action }}
|
|
|
|
<div class="text-center p-3">
|
|
|
|
{{ range . }}
|
|
|
|
<a href="{{ .link | safeURL }}" class="btn btn-primary m-2">{{ .text }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2022-10-05 16:50:40 +02:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
2022-07-19 09:14:46 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{{"<!-- Start Services Section -->" | safeHTML}}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|