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 😂
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:
Anyway, I am about to open a PR that would allow us to do:
which, IMO, would be even more ergonomic.
I don't like the fact that
JSONLDis all caps. Maybe we can find a better name.Please let us not choose:
JavaScriptObjectNotationLinkedData😂