Skip to content

Support for JSON-LD #23

Description

@vilarfg

Perhaps I missed something, but it seems solid-meta doesn't currently expose a way to set json-ld on the head.

JSON-LD is Google's preferred schema markup and it's kind of a big deal for SEO.

I am currently trying out Solid Start and couldn't find a way to set it up, I was expecting we could do something like:

<Script type="application/ld+json">{"json linked data goes here as a string"}</Script>

Anyway, I am about to open a PR that would allow us to do:

<JSONLD>{{ key: "value", ... }}</JSONLD>

which, IMO, would be even more ergonomic.

I don't like the fact that JSONLD is all caps. Maybe we can find a better name.
Please let us not choose: JavaScriptObjectNotationLinkedData 😂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions