[enh] also copy image for cover

This commit is contained in:
Laurent Peuch 2015-12-09 09:57:34 +01:00
parent c6e419b6cd
commit 28bc05bed1

View File

@ -30,6 +30,7 @@
{% if gallery.date %}<div class="gallery-datetime">{{ gallery.date.strftime("%d %B %Y") }}</div>{% endif %}
</div>
</a>
{{ helpers.copy_image(gallery.cover) }}
<div class="gallery-cover" style="background-image: url('{{ gallery.cover }}');"></div>
</div><!-- comment tricks against space between inline-block
-->{% endfor %}