forked from rDrama/rDrama
fds
parent
e7eb43aaa3
commit
d0a2a9a1b9
|
@ -218,7 +218,7 @@
|
|||
|
||||
{% if SITE_NAME == 'Drama' %}
|
||||
{% set path = "assets/images/" + SITE_NAME + "/banners" %}
|
||||
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() %}
|
||||
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?a=20' %}
|
||||
|
||||
<a href="https://secure.transequality.org/site/Donation2?df_id=1480">
|
||||
<img alt="site banner" src="{{image}}" width="100%">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="col sidebar text-left d-none d-lg-block pt-3 bg-white" style="max-width:300px">
|
||||
|
||||
{% set path = "assets/images/" + SITE_NAME + "/sidebar" %}
|
||||
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() %}
|
||||
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?a=20' %}
|
||||
|
||||
<a role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" data-bs-url="{{image}}" onclick="expandDesktopImage('{{image}}')">
|
||||
<img loading="lazy" src="{{image}}" width=100%>
|
||||
|
|
Loading…
Reference in New Issue