Skip to content

og:image content=  #19

@giuliomoro

Description

@giuliomoro

This is the meta property that tells facebook which pic to pick for the link preview.

Blog posts used to get that path wrong:

<meta property="og:image" content="{% if page.image %}{{ page.image }}{% else %}{{ site.default_img }}{% endif %}">

this was giving a wrong relative path, like e.g.:

<meta property="og:image" content="bela-mini-launch/header.jpg">

as a consequence, facebook was picking the first pic instead of the header pic.

Now I fixed it so it actually gets the right URL pics for the header pic 01f6671 . Would it be appropriate to have an option for the author of the post to pick a different pic from the header one? With some other optional param maybe? Just asking

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