add lcp preload
All checks were successful
website-main / prod-build (push) Successful in 10s
website-main / test-build (push) Successful in 7s

This commit is contained in:
Denys Konovalov 2024-01-20 20:38:43 +01:00
parent 2b5ac1e3bf
commit 323559c90f
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9

@ -49,6 +49,11 @@
{{ partial "opengraph" . }}
{{ partial "twitter" . }}
{{ if eq .Page.RelPermalink "/" }}
<link rel="preload" fetchpriority="high" as="image" href="/media/home/banner.webp" type="image/webp">
{{ else }}
<link rel="preload" fetchpriority="high" as="image" href="/media/titelbild.webp" type="image/webp">
{{ end }}
</head>
<div id="pagefind-search" class="modal fade" data-pagefind-ignore>