new
This commit is contained in:
commit
1d8da2b6dd
824 changed files with 76366 additions and 0 deletions
27
layouts/partials/cta.html
Normal file
27
layouts/partials/cta.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{{ $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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue