Files
loicgentil.fr/layouts/partials/hero.html
2025-06-25 15:43:30 +02:00

29 lines
927 B
HTML

{{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}}