Skip to content

Commit 5af2bc0

Browse files
committed
Add OG properties to shared wheel page
1 parent 1696290 commit 5af2bc0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/routes/[path=path]/+page.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929

3030
<svelte:head>
3131
<title>{data.wheel.config.title} - Svelte Wheel</title>
32+
<meta property="og:title" content={data.wheel.config.title} />
33+
<meta property="og:description" content={data.wheel.config.description} />
34+
<meta
35+
property="og:image"
36+
content="https://sveltewheel.com/thumbnails/{data.wheel.path}"
37+
/>
3238
</svelte:head>
3339

3440
<div class="min-h-screen flex flex-col">

0 commit comments

Comments
 (0)