2017-03-17 12:13:58 +01:00
|
|
|
{{ "<!-- SPREAD -->" | safeHTML }}
|
|
|
|
<section id="spread" class="bg-dark">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2 text-center">
|
|
|
|
{{ with .Site.Params.spread.headline }}
|
|
|
|
<h2 class="section-heading">{{ . }}</h2>
|
|
|
|
{{ end }}
|
2017-03-20 12:13:07 +01:00
|
|
|
{{ with .Site.Params.spread.promoText }}
|
|
|
|
<p class="text-faded">{{ . | markdownify }}</p>
|
2017-03-17 12:13:58 +01:00
|
|
|
{{ end }}
|
2017-09-07 16:28:16 +02:00
|
|
|
<a href="{{ .Site.Params.static.promoLink }}" class="btn btn-default btn-xl page-scroll wow tada">{{ .Site.Params.spread.promoButtonText }}</a>
|
2017-03-20 12:13:07 +01:00
|
|
|
<hr class="light">
|
|
|
|
{{ with .Site.Params.spread.shareText }}
|
2017-03-17 12:13:58 +01:00
|
|
|
<p class="text-faded">{{ . | markdownify }}</p>
|
|
|
|
{{ end }}
|
2017-03-20 12:13:07 +01:00
|
|
|
|
|
|
|
<div class="share-buttons">
|
2017-03-20 18:40:55 +01:00
|
|
|
{{ .Site.Params.spread.shareTitle }}
|
2017-08-29 22:50:07 +02:00
|
|
|
|
2017-09-07 22:10:25 +02:00
|
|
|
{{ $data := index .Site.Data.share .Site.Language.Lang }}
|
|
|
|
{{ partial "functions/share_buttons.html" (dict "type" "spread" "defaultSocialText" .Site.Params.spread.defaultSocialText "url" .Site.Params.static.url "data" $data) }}
|
2017-03-20 12:13:07 +01:00
|
|
|
</div>
|
2017-03-17 12:13:58 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|