Add birthgay event banner assets, template change.

remotes/1693045480750635534/spooky-22
Snakes 2022-05-19 17:26:22 -04:00
parent 5e85f34d3c
commit 039991dd43
1 changed files with 2 additions and 1 deletions

View File

@ -248,7 +248,8 @@
{% if sub %}
<img alt="/h/{{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:25vw">
{% elif SITE_NAME == 'rDrama' %}
{% set path = "assets/images/" + SITE_NAME + "/banners" %}
{# set path = "assets/images/" + SITE_NAME + "/banners" #}
{% set path = "assets/images/" + SITE_NAME + "/banners-birthgay" %}
{% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=25' %}
<a href="https://secure.transequality.org/site/Donation2?df_id=1480">