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
When I use <svelte:head> in different components, its contents are added to different tags.
The following shows the head section of the above demo output. It add a meta tag content to script.
<head>
<meta charset="utf-8">
<title>Awesome Svelte</title>
<!--[-->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=12345"
content="Welcome to Svelte/SvelteKit">
</script>
<meta name="description" content="Welcome to Svelte/SvelteKit">
<meta name="author" content="@svelteawesome">
<!--]-->
// more
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', '12345');
</script>
</head>
If I add more meta tags the content of meta tags are not in the right places.
Describe the bug
Demo
When I use
<svelte:head>
in different components, its contents are added to different tags.The following shows the head section of the above demo output. It add a meta tag
content
toscript
.If I add more meta tags the content of meta tags are not in the right places.
Reproduction
Please see the Stackblitz demo.
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: