Skip to content

Invalid headline prop passed to OgImage #130

@selfire1

Description

@selfire1

From what I can see the valid props for OgImageSaas are title and description:

https://github.com/nuxt-ui-pro/saas/blob/5c8219f141ea1fe8b3b704de44cb51142a3c9f11/app/components/OgImage/OgImageSaas.vue#L6-L15

But in the blog/[slug].vue page, a headline prop is passed:
https://github.com/nuxt-ui-pro/saas/blob/5c8219f141ea1fe8b3b704de44cb51142a3c9f11/app/pages/blog/%5Bslug%5D.vue#L30-L32

As far as I could see on the live example, https://saas-template.nuxt.dev/social-card.png overwrites the og:image content. But for consistency, it might be more clear to use title instead of headline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions