Skip to content

Commit ed30ebb

Browse files
committed
fix 404 page
1 parent a6ee4e0 commit ed30ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sites/svelte.dev/src/routes/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</script>
2525
2626
<svelte:head>
27-
{#if !$page.route.id.startsWith('/blog/')}
27+
{#if !$page.route.id?.startsWith('/blog/')}
2828
<meta name="twitter:card" content="summary" />
2929
<meta name="twitter:image" content="https://svelte.dev/images/twitter-thumbnail.jpg" />
3030
<meta name="og:image" content="https://svelte.dev/images/twitter-thumbnail.jpg" />

0 commit comments

Comments
 (0)