master
Aevann1 2022-02-12 17:52:28 +02:00
parent 4d27dd1eb9
commit e077f79473
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@
{% if v %}
{% if sub %}
<img alt="/s/{{sub.name}} banner" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{sub.banner_url}}')" loading="lazy" src="{{sub.banner_url}}" width=100% style="object-fit:cover;max-height:35vh">
<img alt="/s/{{sub.name}} banner" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{sub.banner_url}}')" loading="lazy" src="{{sub.banner_url}}" width=100% style="object-fit:cover;max-height:20vw">
{% elif SITE_NAME == 'Drama' %}
{% set path = "assets/images/" + SITE_NAME + "/banners_bhm" %}
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?a=21' %}