We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ffe2f9 commit 587499eCopy full SHA for 587499e
apps/svelte.dev/src/routes/+layout.svelte
@@ -39,7 +39,7 @@
39
</script>
40
41
<svelte:head>
42
- {#if !page.route.id?.startsWith('/blog/')}
+ {#if !page.route.id || !page.route.id.startsWith('/blog/') || !/^\/docs\/[^\/]+\/[^\/]+$/.test(page.route.id)}
43
<meta name="twitter:card" content="summary" />
44
<meta name="twitter:image" content="https://svelte.dev/images/twitter-thumbnail.jpg" />
45
<meta name="og:image" content="https://svelte.dev/images/twitter-thumbnail.jpg" />
0 commit comments