Preload style sheet

merge-requests/30/head
Bob Mottram 2024-10-22 13:43:22 +01:00
parent 971e96a7ec
commit a061171564
1 changed files with 1 additions and 0 deletions

View File

@ -743,6 +743,7 @@ def html_header_with_external_style(css_filename: str, instance_title: str,
' <meta charset="utf-8">\n' + \
' <link rel="stylesheet" media="all" ' + \
'href="' + css_file + '">\n' + \
' <link rel="preload" href="' + css_file + '" as="style">\n' + \
' <link rel="manifest" href="/manifest.json">\n' + \
' <link href="/favicon.ico" rel="icon" type="image/x-icon">\n' + \
' <meta content="/browserconfig.xml" ' + \