Skip to content

get-page-images function missing? #193

@19-10-9

Description

@19-10-9

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions