From 858ccab4ec80b5f391b8bd4a85e6735b9d9ad597 Mon Sep 17 00:00:00 2001 From: TLSM Date: Sat, 19 Nov 2022 21:18:45 -0500 Subject: [PATCH] Fix userpage profilecss precedence, load order. --- files/templates/default.html | 1 + files/templates/userpage.html | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/files/templates/default.html b/files/templates/default.html index 3d1386025..2a33fc650 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -9,6 +9,7 @@ {% block title %} {% endblock %} {{html_head.html_head(true, true, true, csp, SITE_NAME, true)}} + {% block head_final %}{% endblock %} diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 693ae0afe..6ac6ae6fd 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -3,12 +3,10 @@ {% block pagetype %}userpage{% endblock %} -{% block title %} - -{% if u and u.profilecss and not request.values.get('nocss') %} - -{% endif %} - +{% block head_final %} + {% if u and u.profilecss and not request.values.get('nocss') %} + + {% endif %} {% endblock %} {% import 'userpage/admintools.html' as userpage_admintools with context %}