blob: cb538bb75b7158012a3cbcf8c7f35e73d55594bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!-- call to action -->
{{ if site.Data.homepage.cta.enable }}
{{ with site.Data.homepage.cta }}
<section class="py-4 bg-gradient position-relative">
<img src="{{ .overlayImage | absURL }}" class="img-fluid overlay-image" alt="">
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-7">
<h2 class="text-white">{{ .title | markdownify }}</h2>
<p class="text-white">{{ .content | markdownify }}</p>
{{ with .button }}
<a href="{{ .link | absURL }}" class="btn btn-light">{{ .label }}</a>
{{ end }}
</div>
<div class="col-lg-4 col-md-5 position-relative">
<img class="cta-image" src="{{ .image | absURL }}" alt="">
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}
<!-- /call to action -->
|