[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 %}
|
{% if gallery.date %}<div class="gallery-datetime">{{ gallery.date.strftime("%d %B %Y") }}</div>{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{{ helpers.copy_image(gallery.cover) }}
|
<div class="gallery-cover" style="background-image: url('{{ helpers.generate_thumbnail(gallery.cover, "x900") }}');"></div>
|
||||||
<div class="gallery-cover" style="background-image: url('{{ gallery.cover }}');"></div>
|
|
||||||
</div><!-- comment tricks against space between inline-block
|
</div><!-- comment tricks against space between inline-block
|
||||||
-->{% endfor %}
|
-->{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user