diff options
author | 2024-01-18 10:59:09 +0800 | |
---|---|---|
committer | 2024-01-18 10:59:09 +0800 | |
commit | 4de6d4064bb072e4ad9ab96035e3e6e635ff8753 (patch) | |
tree | 5a3a5ea26cb40028e1ef752e7f2b5f5bec398ba4 /pydis_site/templates | |
parent | Dark: Set correct theme immediately when the script loads (diff) |
Dark: Possibly fix FOUC during theme switch
Diffstat (limited to 'pydis_site/templates')
-rw-r--r-- | pydis_site/templates/base/navbar.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pydis_site/templates/base/navbar.html b/pydis_site/templates/base/navbar.html index 3aa860cf..2fcd8ad8 100644 --- a/pydis_site/templates/base/navbar.html +++ b/pydis_site/templates/base/navbar.html @@ -1,9 +1,9 @@ {% load static %} {% block head %} - <link rel="stylesheet" href="{% static "css/base/themes.css" %}"> - <link href="https://css.gg/css?=|moon|sun" rel="stylesheet"> - <script src="{% static "js/base/themes.js" %}"></script> + <link rel="stylesheet" href="{% static "css/base/themes.css" %}"> + <link href="https://css.gg/css?=|moon|sun" rel="stylesheet"> + <script src="{% static "js/base/themes.js" %}"></script> {% endblock %} <nav class="navbar is-primary" role="navigation" aria-label="main navigation"> |