forked from MarseyWorld/MarseyWorld
Fix userpage profilecss precedence, load order.
parent
f5563900ae
commit
858ccab4ec
|
@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue