add lcp preload
This commit is contained in:
parent
2b5ac1e3bf
commit
323559c90f
@ -49,6 +49,11 @@
|
|||||||
{{ partial "opengraph" . }}
|
{{ partial "opengraph" . }}
|
||||||
{{ partial "twitter" . }}
|
{{ 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>
|
</head>
|
||||||
|
|
||||||
<div id="pagefind-search" class="modal fade" data-pagefind-ignore>
|
<div id="pagefind-search" class="modal fade" data-pagefind-ignore>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user