-
Notifications
You must be signed in to change notification settings - Fork 153
/
hero.html
34 lines (34 loc) · 1.51 KB
/
hero.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
34
{{ if .Site.Params.hero.enable }}
{{ "<!-- Hero Area -->" | safeHTML }}
<section class="hero-area">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="video-player">
<img class="img-fluid rounded" src="{{ with .Site.Params.hero.videoThumb }}{{.| absURL }}{{ end }}" alt="video-thumb">
<a class="play-icon" href="javascript:void(0)">
<i class="tf-ion-play" data-video="{{ with .Site.Params.hero.videoURL }}{{.}}{{ end }}?autoplay=1"></i>
</a>
</div>
</div>
<div class="col-md-6">
<div class="block">
{{ with .Site.Params.hero.heading }}
<h2>{{ . }}</h2>
{{ end }}
{{ with .Site.Params.hero.description }}
<p>{{ . }}</p>
{{ end }}
{{ if .Site.Params.hero.button }}
<ul class="list-inline wow fadeInUp" data-wow-duration=".5s" data-wow-delay=".7s">
<li class="list-inline-item">
<a href="{{ with .Site.Params.hero.btnURL }}{{.}}{{ end }}" target="_blank" class="btn btn-main">{{ with .Site.Params.hero.btnText }}{{.}}{{ end }}</a>
</li>
</ul>
{{ end }}
</div>
</div>
</div>
</div>
</section>
{{ end }}