extratonal.org website
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.
 
 
 
 

17 lines
702 B

{% set hash = this.title|length %}
<div id="gallery{{hash}}" class="gallery">
<h2 class="title">{{ this.title }}</h2>
<div class="carousel cara" data-ride="carousel" data-interval="3000">
<div class="carousel-inner">
{% for item in this.gallery.blocks %}
{{ item }}
{% endfor %}
</div>
</div>
{% if this.gallery.blocks|length > 1 %}
<div class="text-center">
<a class="carousel-control left" data-slide="prev" onclick="$('#gallery{{hash}}').carousel('prev')"></a>
<a class="carousel-control right" data-slide="next" onclick="$('#gallery{{hash}}').carousel('next')"></a>
</div>
{% endif %}
</div>