blob: c052dad8e452d937d90965ac9401f2a6456d3e72 (
plain)
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
34
35
36
|
<div class="divider">
<div class="lmr">
<div class="home__landing">
<div class="home__landing--img">
<img src="{{ $.Param "landingImage" | relURL }}" alt="Site Landing Page image">
</div>
<div class="home__landing--txt">
{{ if $.Param "landingTitle" }}
{{ range $.Param "landingTitle" }}
<div class="title" style="{{ with $.Param "titleColor" }}color:{{ . }}{{ end }};">
{{ . }}
</div>
{{ end }}
{{ end }}
{{ if $.Param "spaceBetweenTitleText" }}
<div style="height: {{ $.Param "spaceBetweenTitleText" }}px"></div>
{{ end }}
{{ if $.Param "landingText" }}
{{ range $.Param "landingText" }}
<div class="text" style="{{ with $.Param "textColor" }}color:{{ . }}{{ end }};">
{{ . }}
</div>
{{ end }}
{{ end }}
{{ range .Params.buttons }}
<a href="{{ .link }}" target="{{ if in .link "http" }}_blank{{ else }}_self{{ end }}" rel="noreferrer" class="home__landing--link">
<button class="button" aria-label="{{ .text }}" data-color="{{ with .color }}{{ . }}{{ end }}">
{{ .text }}
</button>
</a>
{{ end }}
</div>
</div>
</div>
</div>
|