make pagespeed more happy

master
Dirk Heilig 2024-01-18 15:07:02 +01:00
parent fe08b40979
commit 0b293e3613
2 changed files with 17 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="de">
<head>
{{ partial "head.html" . }}
</head>
@ -23,5 +23,6 @@
</div>
</main>
{{ partial "footer.html" . }}
{{ partial "html-end.html" . }}
</body>
</html>

View File

@ -73,11 +73,22 @@
</script>
{{ end }}
<link rel="stylesheet" href="{{ "lib/icofont/icofont.min.css" | relURL }}" />
<link rel="stylesheet" href="{{ "css/syntax.css" | relURL }}" />
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}" />
<link rel="shortcut icon" href="{{ "images/favicon.ico" | relURL }}" type="image/x-icon" />
<style>
body{
background-color: #202124;
display: none;
}
</style>
<link rel="preload" as="stlesheet" href="{{ "lib/icofont/icofont.min.css" | relURL }}" />
<link rel="preload" as="stlesheet" href="{{ "css/syntax.css" | relURL }}" />
<link rel="preload" as="stlesheet" href="{{ "css/style.css" | relURL }}" />
<script src="/js/jquery-3.7.1.min.js"></script>
<script src="/js/href_handling.js"></script>
<script src="/js/door-status.js"></script>
<script src="/js/calendar.js"></script>
<script src="/js/calendar.js"></script>
<link rel="preload" fetchpriority="high" as="image" href="/img/banner.png" type="image/png">