-
Notifications
You must be signed in to change notification settings - Fork 179
Open
Description
Hi,
In the shortcode file opengraph.html:
{{- with partial "_funcs/get-page-images" . }}
{{- range . | first 6 }}
<meta property="og:image" content="{{ .Permalink }}">
{{- end }}
{{- else }}
But there's there's only get_hook.html in the functions folder.
I also got the error during deployment:
ERROR render of "page" failed: "/opt/buildhome/repo/themes/typo/layouts/_default/baseof.html:6:5": execute of template failed: template: _default/single.html:6:5: executing "_default/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: template: partials/opengraph.html:43:9: executing "partials/opengraph.html" at <partial "_funcs/get-page-images" .>: error calling partial: partial "_funcs/get-page-images" not found
Does that mean the get-page-images is missing?
**My workaround is to create my own opengraph.html file and remove codes about get-page-images.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels