camp-homepage/themes/infinity-hugo/layouts/partials/details.html

29 lines
1.2 KiB
HTML
Raw Normal View History

{{ if .Site.Params.details.enable }}
{{"<!-- Details Section -->" | safeHTML}}
<section id="{{ i18n "details" | urlize }}" class="section about details bg-gray pt-0">
<div class="container">
<div class="row">
2021-05-24 22:21:06 +02:00
<div class="col-md-5 col-sm-12 wow fadeInLeft">
<div class="about-slider">
2021-05-25 23:10:32 +02:00
{{ range .Site.Params.details.sliderItem }}
2021-05-24 22:21:06 +02:00
<img src="{{ .image }}" alt="{{ i18n "sliderImage" }}">
{{ end }}
</div>
</div>
<div class="col-md-7 col-sm-12 wow fadeInLeft">
{{ range .Site.Params.details.section }}
<div class="col-md-12 col-sm-12 mb-3 wow fadeInLeft" data-wow-delay="0.3s">
<div class="content">
<div class="sub-heading mb-1">
<h3>{{ .heading }}</h3>
</div>
<p>{{ .description | safeHTML }}</p>
</div>
</div>
2021-05-24 22:21:06 +02:00
{{ end }}
</div>
</div>
</div>
</section>
{{ end }}