You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
661 B

<!-- active -->
<div class="carousel-item">
{% if this.video_mp4 %}
<video autoplay muted loop>
<source src="{{ this.video_mp4 }}" type="video/mp4">
</video>
{% elif this.background_image %}
<img src="{{ this.background_image }}" class="d-block w-100" alt="...">
{% endif %}
<div class="container">
<div class="carousel-caption">
<h3 class="display-4">{{ this.title }}</h3>
<p class="lead">
{{ this.description }}
<br>
<a href="{{ this.button_link }}" class="btn btn-primary btn-lg" role="button" aria-pressed="true">
{{ this.button_text }}
</a>
</p>
</div>
</div>
</div>