16 lines
484 B
HTML
16 lines
484 B
HTML
{% load compress static wagtailcore_tags wagtailimages_tags %}
|
|
|
|
<!-- Gallery Template -->
|
|
|
|
<div class="carousel-inner carousel-gallery slick" role="listbox">
|
|
{% for block in page.gallery %}
|
|
{% for val in block.value %}
|
|
<div class="item">
|
|
{% image val.image fill-700x400 as entry_thumb %}
|
|
{% image val.image original as entry_photo %}
|
|
<image data-src="{{ entry_photo.url }}" style="background-image:url({{ entry_thumb.url }})">
|
|
</div>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</div>
|