28 lines
1 KiB
HTML
28 lines
1 KiB
HTML
|
|
{{ $impressum := site.GetPage "page" "impressum" }}
|
||
|
|
|
||
|
|
{{ with site.GetPage "/" }}
|
||
|
|
{{ with .Params.cta }}
|
||
|
|
<section class="call-to-action bg-1 section-sm overly" style="background-image: url('{{ .bg_image | relURL }}'); position: relative; background-attachment: fixed; background-size: cover;">
|
||
|
|
<div class="overlay-dark"></div> <!-- DAS NEUE OVERLAY -->
|
||
|
|
<div class="container">
|
||
|
|
<div class="row">
|
||
|
|
<div class="col-md-12">
|
||
|
|
<div class="block" style="position: relative; z-index: 1;">
|
||
|
|
{{ with .title }}<h2>{{ . | markdownify }}</h2>{{ end }}
|
||
|
|
{{ with .content }}<p>{{ . | markdownify }}</p>{{ end }}
|
||
|
|
{{ with .button }}
|
||
|
|
{{ if .enable }}
|
||
|
|
<a class="btn btn-main btn-solid-border" href="mailto:{{ $impressum.Params.email }}">E-mail</a>
|
||
|
|
|
||
|
|
<br>
|
||
|
|
<a class="btn btn-main btn-solid-border" href="tel:{{ index $impressum.Params.telefon }}">TELEFON</a>
|
||
|
|
{{ end }}
|
||
|
|
{{ end }}
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
{{ end }}
|
||
|
|
{{ end }}
|