forked from rDrama/rDrama
disable site background in profiles
parent
aeeeabbfd7
commit
87573936e7
|
@ -161,6 +161,7 @@
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro stylesheets_lower() %}
|
{% macro stylesheets_lower() %}
|
||||||
|
{% if not request.path.startswith('/@') %}
|
||||||
{% if SITE_NAME == 'rDrama' and (not v or v.is_banned or v.agendaposter) %}
|
{% if SITE_NAME == 'rDrama' and (not v or v.is_banned or v.agendaposter) %}
|
||||||
{% set background = '/i/backgrounds/glitter/1.webp?v=4' %}
|
{% set background = '/i/backgrounds/glitter/1.webp?v=4' %}
|
||||||
{% elif v and v.background %}
|
{% elif v and v.background %}
|
||||||
|
@ -178,6 +179,7 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro default_theme() %}
|
{% macro default_theme() %}
|
||||||
|
|
Loading…
Reference in New Issue