remotes/1693045480750635534/spooky-22
Aevann1 2022-04-14 19:40:13 +02:00
parent 752c974c72
commit 923cac0125
2 changed files with 11 additions and 3 deletions

View File

@ -234,7 +234,11 @@
{% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=23' %}
<a href="https://secure.transequality.org/site/Donation2?df_id=1480">
<img alt="site banner" src="/assets/images/rDrama/banner2.webp?v=1" width="100%">
{% if v and (v.shadowbanned or v.is_banned or v.agendaposter) %}
<img alt="site banner" src="{{image}}" width="100%">
{% else %}
<img alt="site banner" src="/assets/images/rDrama/banner2.webp?v=1" width="100%">
{% endif %}
</a>
{% else %}
<a href="/">

View File

@ -7,8 +7,12 @@
{% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=40' %}
{% endif %}
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('/assets/images/rDrama/sidebar2.webp')" loading="lazy" src="/assets/images/rDrama/sidebar2.webp" width=100%>
{% if v and (v.shadowbanned or v.is_banned or v.agendaposter) %}
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('/assets/images/rDrama/sidebar2.webp')" loading="lazy" src="/assets/images/rDrama/sidebar2.webp" width=100%>
{% else %}
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>
{% endif %}
{% if sub %}
{% if sub.sidebar_html %}
<div class="mb-4">{{sub.sidebar_html|safe}}</div>