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-10-07 22:07:27 +02:00
|
|
|
<section id="skills" class="section bg-one stick">
|
2022-07-19 09:14:46 +02:00
|
|
|
<div class="container">
|
2022-10-05 17:19:30 +02:00
|
|
|
{{ if .title }}
|
2022-07-19 09:14:46 +02:00
|
|
|
<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>
|
2022-10-05 17:19:30 +02:00
|
|
|
{{ end }}
|
2022-07-19 09:14:46 +02:00
|
|
|
<div class="row">
|
2022-09-08 15:24:41 +02:00
|
|
|
{{ with .image }}
|
2022-10-05 17:19:30 +02:00
|
|
|
<div class="col-lg-6 text-center">
|
|
|
|
<div class="p-3">
|
|
|
|
<img class="img-fluid" src="{{ . | absURL }}" alt="image" loading="lazy">
|
|
|
|
</div>
|
2022-07-19 09:14:46 +02:00
|
|
|
</div>
|
2022-09-08 15:24:41 +02:00
|
|
|
{{ end }}
|
2022-10-05 17:19:30 +02:00
|
|
|
<div class="col-lg-{{ with .image }}6{{else}}12{{ end }}">
|
|
|
|
<div class="p-3">
|
|
|
|
<h2>{{ .subtitle | markdownify }}</h2>
|
|
|
|
<p> {{ .content | markdownify }}</p>
|
2022-10-06 17:53:33 +02:00
|
|
|
{{ if .content_blocks }}
|
|
|
|
{{ $col := div 12 (len .content_blocks) }}
|
|
|
|
<div class="row">
|
|
|
|
{{ range .content_blocks }}
|
2022-10-07 22:07:27 +02:00
|
|
|
<div class="col-sm-{{ $col }} col-12">
|
|
|
|
<p>{{ . | markdownify }}</p>
|
2022-10-06 17:53:33 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2022-10-05 17:19:30 +02:00
|
|
|
{{ 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-07-19 09:14:46 +02:00
|
|
|
{{ end }}
|
2022-09-08 15:24:41 +02:00
|
|
|
</div>
|
2022-07-19 09:14:46 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{{"<!-- /skill -->" | safeHTML }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|