diff --git a/files/templates/default.html b/files/templates/default.html index 58f5bd3e2..a08f479a5 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -234,7 +234,11 @@ {% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=23' %} - site banner + {% if v and (v.shadowbanned or v.is_banned or v.agendaposter) %} + site banner + {% else %} + site banner + {% endif %} {% else %} diff --git a/files/templates/sidebar_rDrama.html b/files/templates/sidebar_rDrama.html index a78749baf..b88bc4e6e 100644 --- a/files/templates/sidebar_rDrama.html +++ b/files/templates/sidebar_rDrama.html @@ -7,8 +7,12 @@ {% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=40' %} {% endif %} - sidebar image - + {% if v and (v.shadowbanned or v.is_banned or v.agendaposter) %} + sidebar image + {% else %} + sidebar image + {% endif %} + {% if sub %} {% if sub.sidebar_html %}
{{sub.sidebar_html|safe}}