forked from rDrama/rDrama
try smth to make custom css load faster
parent
8afd1f1d99
commit
ede2edf44e
|
@ -59,7 +59,6 @@
|
||||||
|
|
||||||
<script src="{{'js/top.js' | asset}}"></script>
|
<script src="{{'js/top.js' | asset}}"></script>
|
||||||
{% block body required %}{% endblock %}
|
{% block body required %}{% endblock %}
|
||||||
{{html_head.stylesheets_lower()}}
|
|
||||||
<script defer src="{{'js/bottom.js' | asset}}"></script>
|
<script defer src="{{'js/bottom.js' | asset}}"></script>
|
||||||
|
|
||||||
{% if (v and v.cursormarsey) or (not v and CURSORMARSEY_DEFAULT) %}
|
{% if (v and v.cursormarsey) or (not v and CURSORMARSEY_DEFAULT) %}
|
||||||
|
|
|
@ -132,9 +132,7 @@
|
||||||
{% if not (v and v.poor) %}
|
{% if not (v and v.poor) %}
|
||||||
<link rel="stylesheet" href="{{'css/awards.css' | asset}}">
|
<link rel="stylesheet" href="{{'css/awards.css' | asset}}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endmacro %}
|
|
||||||
|
|
||||||
{% macro stylesheets_lower() %}
|
|
||||||
{% if not (request.path.startswith('/@') and u) %}
|
{% if not (request.path.startswith('/@') and u) %}
|
||||||
{% if (v and v.background) or (SITE_NAME == 'rDrama' and v and v.chud) %}
|
{% if (v and v.background) or (SITE_NAME == 'rDrama' and v and v.chud) %}
|
||||||
<link rel="stylesheet" href="{{('css/transparent.css') | asset}}">
|
<link rel="stylesheet" href="{{('css/transparent.css') | asset}}">
|
||||||
|
|
Loading…
Reference in New Issue