[mod] let's use a thumbnail for the cover finally
This commit is contained in:
parent
28bc05bed1
commit
f54aa3c6fb
@ -30,8 +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 class="gallery-cover" style="background-image: url('{{ helpers.generate_thumbnail(gallery.cover, "x900") }}');"></div>
|
||||
</div><!-- comment tricks against space between inline-block
|
||||
-->{% endfor %}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user