diff options
author | 2018-04-10 19:39:29 +0200 | |
---|---|---|
committer | 2018-04-10 19:39:29 +0200 | |
commit | dd6835dfd6a7f8fb6baea76a0cddd8289e43130f (patch) | |
tree | e433366cf41977d0a9aa554721a649a15cfb355d /templates/wiki | |
parent | Forces the sidebar and the rest of that container div to fill the page (diff) |
Flash of Unstyled Content fix
Diffstat (limited to 'templates/wiki')
-rw-r--r-- | templates/wiki/base.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/wiki/base.html b/templates/wiki/base.html index 4dce58d6..02ab1b55 100644 --- a/templates/wiki/base.html +++ b/templates/wiki/base.html @@ -5,8 +5,14 @@ <title>Python Discord | {% block title %}{% endblock %}</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <script defer src="https://pro.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-DtPgXIYsUR6lLmJK14ZNUi11aAoezQtw4ut26Zwy9/6QXHH8W3+gjrRDT+lHiiW4" crossorigin="anonymous"></script> + + <!-- Prevent Flash of Unstyled Content --> + <script src="{{ static_file('js/fouc.js') }}"></script> + + <!-- Other JS loads --> <script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.39/js/uikit.min.js"></script> + + <!-- Static stuff --> <link rel="shortcut icon" href="{{ static_file('favicon.ico') }}"> <link rel="stylesheet" href="{{ static_file('uikit_blurple.css') }}"/> <link rel="stylesheet" href="{{ static_file('style.css') }}"/> |