Use level 4 thumbnail for cover image

This commit is contained in:
rubenwardy
2022-10-25 01:57:38 +01:00
parent 5a506ef557
commit 294037ec70
4 changed files with 15 additions and 17 deletions

View File

@@ -29,7 +29,7 @@
</ol>
<div class="carousel-inner">
{% for package in featured %}
{% set cover_image = package.cover_image.url or package.getMainScreenshotURL() %}
{% set cover_image = package.getCoverImageURL() %}
{% set tags = package.tags | sort(attribute="views", reverse=True) %}
<div class="carousel-item {% if loop.index == 1 %}active{% endif %}">
<a href="{{ package.getURL("packages.view") }}">