camp-homepage/themes/infinity-hugo/layouts/partials/service.html
2023-02-03 20:04:29 +01:00

28 lines
1.1 KiB
HTML

{{ if .Site.Params.service.enable }}
{{"<!-- Service Section -->" | safeHTML}}
<section id="{{ i18n "service" | urlize }}" class="service section">
<div class="container">
<div class="row">
<div class="heading wow fadeInUp">
{{ with .Site.Params.service.title }}
<h2>{{ . }}</h2>
{{ end }}
{{ with .Site.Params.service.subtitle }}
<p>{{ . }}</p>
{{ end }}
</div>
{{ range .Site.Params.service.serviceItem }}
{{ if .enable }}
<div class="col-sm-6 col-md-6 wow fadeInLeft" data-wow-delay="{{ .delay }}">
<div class="block">
<div class="{{ .icon }}"></div>
<h3>{{ .title }}</h3>
<p>{{ .description | safeHTML}}</p>
</div>
</div>
{{ end }}
{{ end }}
</div>
</div>
</section>
{{ end }}