-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tags rendered before charset #5
Comments
I'm finding the same issue, the seo tags are all being rendered outside the leading to an invalid HTML page and broken charset declaration. |
Actually, the issue was the theme author had structured the layout in a way that the SEO component was being injected prior to the HTML tag. Make sure your head component includes a slot and then you can pass the AstroSeo content into it as follows:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, as far as I can see all tags are rendered on top of head section. Afaik the
<meta charset="" />
Tag should appear before other tags and e.g. lighthouse test will complain about this. Any possibility to avoid or change this behavior?The text was updated successfully, but these errors were encountered: