wtfxus-home/themes/roxo-hugo/layouts/partials/call-to-action.html

33 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2023-07-02 21:26:24 +00:00
{{ with .Site.Params.call_to_action }}
{{ if .enable }}
<section class="site-cta" style='background-image: url("{{ .background_image | absURL }}");'>
<div class="container">
<div class="row">
<div class="col-12 text-center">
<h1 class="site-cta-title">{{ .title }}</h1>
<ul class="site-cta-buttons">
<li>
<a href="{{ .primary_button_url | absURL }}" class="btn btn-secondary">
<span class="btn-area">
<span data-text="{{ .primary_button }}">
{{ .primary_button }}
</span>
</span>
</a>
</li>
<li>
<a href="{{ .secondary_button_url | absURL }}" class="btn btn-primary">
<span class="btn-area">
<span data-text="{{ .secondary_button }}">
{{ .secondary_button }}
</span>
</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}