fix pagefind images
All checks were successful
Website Prod/Test / Produktivumgebung (push) Successful in 15s
Website Prod/Test / Testumgebung (push) Successful in 10s

This commit is contained in:
Denys Konovalov 2025-01-09 23:33:09 +01:00
parent d1a2f1e8ff
commit 7f9289a30f

View File

@ -55,7 +55,7 @@
{{ template "_internal/twitter_cards.html" . }} {{ template "_internal/twitter_cards.html" . }}
{{- with partial "_funcs/get-page-images" . }} {{- with partial "_funcs/get-page-images" . }}
{{- range . | first 6 }} {{- range . | first 1 }}
<meta data-pagefind-default-meta="image[content]" content="{{ .Permalink }}" property="og:image"> <meta data-pagefind-default-meta="image[content]" content="{{ .Permalink }}" property="og:image">
{{- end }} {{- end }}
{{- end }} {{- end }}