You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @stephane I've done a refactor of the component, instead of having a load of differing props I've moved everything into one config object, this enables you to have standard props that won't typically change in a exportable config that you can spread into the main config.
The language tag is in the schema for it now and I've added tests to cover it. Just to be clear this doesn't change the <html lang='en' attribute, that's something that will need to implemented on the user side as the component doesn't have access to the app.html file.
It will be a breaking change but it will mean the component is simpler to use with a lot of the complexities abstracted away 😅
It will enable schema.org data along with JSON-LD data to be added to it too
With that being said there's an issue with hydration markers in Svelte breaking the JSON-LD parsing, so, until that is resolved JSON-LD parsing will not work
I'll continue with the refactor and release with the broken JSON-LD functionality if it's not fixed on the Svelte end in that time 😊
Describe the bug
I set the
language
property to Head component but I don't see the rendering of this information.Tested with v0.0.8.
Additional context
The value is passed to https://github.com/spences10/svead/blob/main/src/lib/components/schema-org.svelte via SchemaOrgProps but not used by the component.
The text was updated successfully, but these errors were encountered: