-
Notifications
You must be signed in to change notification settings - Fork 214
/
Copy pathcall-to-action.html
33 lines (33 loc) · 1.07 KB
/
call-to-action.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{ with .Site.Params.call_to_action }}
{{ if .enable }}
<section class="site-cta" style='background-image: url("{{ .background_image | absURL }}");'>
<div class="container">
<div class="row">
<div class="col-12 text-center">
<h1 class="site-cta-title">{{ .title }}</h1>
<ul class="site-cta-buttons">
<li>
<a href="{{ .primary_button_url | absURL }}" class="btn btn-secondary">
<span class="btn-area">
<span data-text="{{ .primary_button }}">
{{ .primary_button }}
</span>
</span>
</a>
</li>
<li>
<a href="{{ .secondary_button_url | absURL }}" class="btn btn-primary">
<span class="btn-area">
<span data-text="{{ .secondary_button }}">
{{ .secondary_button }}
</span>
</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}