fix pagefind images
This commit is contained in:
parent
d1a2f1e8ff
commit
7f9289a30f
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user