first commit
This commit is contained in:
28
layouts/partials/hero.html
Normal file
28
layouts/partials/hero.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{{with .Site.Data.hero}}
|
||||
{{if .enable}}
|
||||
<section class="hero" style="background-image: url( {{ .heroBGimg }} );">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12">
|
||||
<div class="hero-content">
|
||||
<h1>{{.title | safeHTML}}</h1>
|
||||
{{ range .subtitle }}
|
||||
<h3 class="animate__animated animate__pulse animate__infinite animate__slower">{{.word | safeHTML }}</h3>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if .heroVideo }}
|
||||
<div class="hero-video-player">
|
||||
<div class="hero-video-player-icon">
|
||||
<a class="popup-vimeo" href="{{ .heroVideo }}">
|
||||
<i class="ti-control-play"></i>
|
||||
</a>
|
||||
</div>
|
||||
{{ .herosVideoDesc | safeHTML }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user