20 lines
648 B
HTML
Raw Normal View History

2016-03-30 13:32:07 +02:00
{% set image = Image(section.image) %}
{% set caption = section.text %}
{{ image.copy()}}
2016-04-09 09:33:48 +02:00
{% if section.background %}
<div style="padding: 1px 0px;background: {{ section.background }};">
{% endif %}
2016-03-08 14:03:33 +01:00
<div class="bordered-picture baguette caption">
2016-03-30 13:32:07 +02:00
<a href="{{ image }}" {% if caption %}data-caption="{{ caption }}"{% endif %}>
2016-02-22 14:11:36 +01:00
<img class="responsive-img" src="{{ image.generate_thumbnail("x2000") }}">
2016-02-26 19:52:14 +01:00
{% if caption %}
<div class="caption__overlay card-panel center">
<h5 class="black-white">{{ caption }}</h5>
</div>
{% endif %}
2016-02-22 14:11:36 +01:00
</a>
</div>
2016-04-09 09:33:48 +02:00
{% if section.background %}
</div>
{% endif %}