2022-07-19 09:14:46 +02:00
|
|
|
{{ $data := index site.Data site.Language.Lang }}
|
|
|
|
|
|
|
|
{{ if $data.skill.skill.enable }}
|
|
|
|
{{ with $data.skill.skill }}
|
|
|
|
{{"<!-- Skills -->" | safeHTML }}
|
2022-09-08 15:40:29 +02:00
|
|
|
<section id="modalites" class="section bg-one">
|
2022-07-19 09:14:46 +02:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
{{"<!-- section title -->" | safeHTML }}
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="title text-center">
|
|
|
|
<h2>{{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
|
|
|
|
{{ with .title }} {{ after (len (index (split . " ") 0)) . | safeHTML }} {{ end }}</span></h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{"<!-- /section title -->" | safeHTML }}
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2022-09-08 15:24:41 +02:00
|
|
|
{{ with .image }}
|
|
|
|
<div class="col-lg-6 p-3 text-center">
|
2022-09-13 23:27:16 +02:00
|
|
|
<img class="img-fluid" src="{{ . | absURL }}" alt="image" loading="lazy">
|
2022-07-19 09:14:46 +02:00
|
|
|
</div>
|
2022-09-08 15:24:41 +02:00
|
|
|
{{ end }}
|
|
|
|
<div class="col-lg-{{ with .image }}6{{else}}12{{ end }} p-3">
|
|
|
|
<h2>{{ .subtitle | markdownify }}</h2>
|
|
|
|
<p> {{ .content | markdownify }}</p>
|
|
|
|
{{ with .call_to_action }}
|
|
|
|
<div class="text-center p-3">
|
|
|
|
{{ range . }}
|
|
|
|
<a href="{{ .link | safeURL }}" class="btn btn-primary m-2">{{ .text }}</a>
|
2022-07-19 09:14:46 +02:00
|
|
|
{{ end }}
|
2022-09-08 15:24:41 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2022-07-19 09:14:46 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{{"<!-- /skill -->" | safeHTML }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|