2016-02-26 14:39:19 +01:00

16 lines
448 B
HTML

{% set image = Image(section.image) %}
{% set caption = section.text %}
{{ image.copy()}}
<section class="bordered-picture baguette">
<div class="caption">
<a href="{{ image }}">
<img src="{{ image }}">
{% if caption %}
<div class="caption__overlay">
<h5 class="caption__overlay__title">{{ caption }}</h5>
</div>
{% endif %}
</div>
</a>
</section>