Fix userpage profilecss precedence, load order.

pull/2/head
Snakes 2022-11-19 21:18:45 -05:00
parent f5563900ae
commit 858ccab4ec
Signed by: Snakes
GPG Key ID: E745A82778055C7E
2 changed files with 5 additions and 6 deletions

View File

@ -9,6 +9,7 @@
{% block title %} {% block title %}
{% endblock %} {% endblock %}
{{html_head.html_head(true, true, true, csp, SITE_NAME, true)}} {{html_head.html_head(true, true, true, csp, SITE_NAME, true)}}
{% block head_final %}{% endblock %}
</head> </head>

View File

@ -3,12 +3,10 @@
{% block pagetype %}userpage{% endblock %} {% block pagetype %}userpage{% endblock %}
{% block title %} {% block head_final %}
{% if u and u.profilecss and not request.values.get('nocss') %}
{% if u and u.profilecss and not request.values.get('nocss') %} <link rel="stylesheet" href="/{{u.id}}/profilecss">
<link rel="stylesheet" href="/{{u.id}}/profilecss"> {% endif %}
{% endif %}
{% endblock %} {% endblock %}
{% import 'userpage/admintools.html' as userpage_admintools with context %} {% import 'userpage/admintools.html' as userpage_admintools with context %}