forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-22 02:56:13 +02:00
parent e7eb43aaa3
commit d0a2a9a1b9
2 changed files with 2 additions and 2 deletions

View File

@ -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%">

View File

@ -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%>