22 lines
609 B
HTML
22 lines
609 B
HTML
<!--
|
|
SPDX-FileCopyrightText: 2021 Software Ingenieur Begerad <swingbe.de>
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
-->
|
|
<!--use Nunjucks set feature to create a variable-->
|
|
{% set ctaPrefix = cta %}
|
|
<!--Do you want to override cta on a per-instance bases?-->
|
|
{% if ctaContent %}
|
|
{% set ctaPrefix = ctaContent %}
|
|
{% endif %}
|
|
<article>
|
|
<div class="p-5 my-4 bg-light rounded-3">
|
|
<h2>{{ ctaPrefix.title }}</h2>
|
|
<p class="lead">{{ ctaPrefix.summary }}</p>
|
|
<p>
|
|
<a href="{{ ctaPrefix.buttonUrl }}"
|
|
class="btn btn-success btn-lg">
|
|
{{ ctaPrefix.buttonText }}</a>
|
|
</p>
|
|
</div>
|
|
</article>
|