fd
This commit is contained in:
parent
19f8c863ac
commit
0e22ab9f81
1 changed files with 5 additions and 5 deletions
|
@ -216,17 +216,17 @@
|
||||||
{% if '@' not in request.path %}
|
{% if '@' not in request.path %}
|
||||||
{% if v %}
|
{% 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 path = "assets/images/" + SITE_NAME + "/banners_bhm" %}
|
||||||
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?a=21' %}
|
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?a=21' %}
|
||||||
|
|
||||||
<a href="https://naacp.org/donate">
|
<a href="https://naacp.org/donate">
|
||||||
<img alt="site banner" src="{{image}}" width="100%">
|
<img alt="site banner" src="{{image}}" width="100%">
|
||||||
</a>
|
</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 %}
|
{% else %}
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img alt="site banner" src="/static/assets/images/{{SITE_NAME}}/banner.webp?a=1012" width="100%">
|
<img alt="site banner" src="/static/assets/images/{{SITE_NAME}}/banner.webp?a=1012" width="100%">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue