focalboard/website/site/themes/layouts/partials/intro.html

27 lines
1.3 KiB
HTML
Raw Normal View History

2021-01-07 23:12:26 +01:00
<section id="fh5co-intro">
<div class="container">
<div class="row row-bottom-padded-lg">
{{ range .Site.Params.intro.item }}
<div class="fh5co-block to-animate" style="background-image: url(images/{{ .img }});">
<div class="overlay-darker"></div>
<div class="overlay"></div>
<div class="fh5co-text">
<i class="fh5co-intro-icon {{ .icon }}"></i>
<h2>{{ .title }}</h2>
<p>{{ .description }}</p>
<p><a href="{{ .url }}" class="btn btn-primary">{{ .button}}</a></p>
</div>
</div>
{{ end }}
</div>
{{ if .Site.Params.intro.video.enable }}
<div class="row watch-video text-center to-animate">
<!-- <span>{{ with .Site.Params.intro.video }}{{ . }}{{ end }}</span> -->
<span>{{.Site.Params.intro.video.title | markdownify }}</span>
<a href="{{ .Site.Params.intro.video.url }}" class="popup-vimeo btn-video"><i class="{{ .Site.Params.intro.video.icon | markdownify }}"></i></a>
</div>
{{ end }}
</div>
</section>