forked from rDrama/rDrama
1
0
Fork 0

move custom css to stylesheets_lower

master
Aevann 2023-12-24 23:25:47 +02:00
parent 1f6deb29df
commit 27cb259eb6
1 changed files with 8 additions and 8 deletions

View File

@ -118,10 +118,6 @@
<link rel="stylesheet" href="{{('css/30409f.css') | asset}}">
{% endif %}
{% endif %}
{% if (v.css or v.background) and not request.path.startswith('/settings') %}
<link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %}
{% else %}
<link rel="stylesheet" href="{{('css/themes/'~DEFAULT_THEME~'.css') | asset}}">
{% endif %}
@ -141,10 +137,6 @@
<link rel="stylesheet" href="{{'events/fistmas/css/themes/dark.css'| asset}}">
{% endif %}
{% endif %}
{% if hole and hole.css and not request.path.endswith('settings') and not request.values.get('nocss') %}
<link rel="stylesheet" href="/h/{{hole}}/css">
{% endif %}
{% endmacro %}
{% macro stylesheets_lower() %}
@ -153,6 +145,14 @@
<link rel="stylesheet" href="{{('css/transparent.css') | asset}}">
{% endif %}
{% endif %}
{% if hole and hole.css and not request.path.endswith('settings') and not request.values.get('nocss') %}
<link rel="stylesheet" href="/h/{{hole}}/css">
{% endif %}
{% if v and (v.css or v.background) and not request.path.startswith('/settings') %}
<link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %}
{% endmacro %}
{% macro seo() %}