remotes/1693045480750635534/spooky-22
Aevann1 2022-02-11 20:55:30 +02:00
parent 8d77d0e982
commit 781ea36e3d
1 changed files with 5 additions and 5 deletions

View File

@ -216,17 +216,17 @@
{% if '@' not in request.path %}
{% if v %}
{% if SITE_NAME == 'Drama' %}
{% if sub %}
<a href="/">
<img alt="/s/{[sub.name]} banner" src="{{sub.banner_url}}" width=100% style="object-fit:cover;max-height:35vh">
</a>
{% elif SITE_NAME == 'Drama' %}
{% set path = "assets/images/" + SITE_NAME + "/banners_bhm" %}
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?a=21' %}
<a href="https://naacp.org/donate">
<img alt="site banner" src="{{image}}" width="100%">
</a>
{% elif sub %}
<a href="/">
<img alt="/s/{[sub.name]} banner" src="{{sub.banner_url}}" width=100% style="object-fit:cover;max-height:35vh">
</a>
{% else %}
<a href="/">
<img alt="site banner" src="/static/assets/images/{{SITE_NAME}}/banner.webp?a=1012" width="100%">