forked from MarseyWorld/MarseyWorld
master
parent
8d77d0e982
commit
781ea36e3d
|
@ -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%">
|
||||
|
|
Loading…
Reference in New Issue