41 lines
1.2 KiB
HTML
41 lines
1.2 KiB
HTML
{{ $data := index site.Data site.Language.Lang }}
|
|
|
|
{{ if $data.skill.skill.enable }}
|
|
{{ with $data.skill.skill }}
|
|
{{"<!-- Skills -->" | safeHTML }}
|
|
<section id="modalites" class="section bg-one">
|
|
<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">
|
|
{{ with .image }}
|
|
<div class="col-lg-6 p-3 text-center">
|
|
<img class="img-fluid lozad" data-src="{{ . | absURL }}" alt="image">
|
|
</div>
|
|
{{ 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>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{"<!-- /skill -->" | safeHTML }}
|
|
{{ end }}
|
|
{{ end }}
|