Add rel="preload" to stylesheets

This commit is contained in:
Flare Starfall 2025-09-20 10:37:56 +02:00
parent 77b43b3030
commit cf0b64e5c7
2 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,7 @@
"source.organizeImports.ruff": "always", "source.organizeImports.ruff": "always",
"source.sort.json": "always" "source.sort.json": "always"
}, },
"editor.formatOnSave": true,
"python.languageServer": "None", "python.languageServer": "None",
"scss-to-css-compile.browsers": [ "scss-to-css-compile.browsers": [
"ie > 9", "ie > 9",

View File

@ -7,9 +7,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="description" content="StarfallBot administation interface" /> <meta name="description" content="StarfallBot administation interface" />
<link rel="icon" href="{{ url_for('static', filename='favicon.png') }}" />
<link rel="preload" href="{{ url_for('static', filename='style/fonts.css') }}" as="style" />
<link rel="preload" href="{{ url_for('static', filename='style/main.css') }}" as="style" />
<link rel="stylesheet" href="{{ url_for('static', filename='style/fonts.css') }}" /> <link rel="stylesheet" href="{{ url_for('static', filename='style/fonts.css') }}" />
<link rel="stylesheet" href="{{ url_for('static', filename='style/main.css') }}" /> <link rel="stylesheet" href="{{ url_for('static', filename='style/main.css') }}" />
<link rel="icon" href="{{ url_for('static', filename='favicon.png') }}" />
{% block head %} {% block head %}
{% endblock %} {% endblock %}
</head> </head>