Skip to content

Commit

Permalink
try image near top of head
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbos committed Nov 27, 2023
1 parent 19a2eeb commit 81c62c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/meta/Meta.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<svelte:head>
<title>{$page.data.meta.title}</title>
<meta name="image" property="og:image" content={$page.data.meta.image} />
<meta name="theme-color" content="#000000" />
{#if $page.data.meta.canonical}
<link rel="canonical" href={$page.data.meta.canonical} />
Expand All @@ -16,7 +17,7 @@
<meta property="og:url" content={$page.data.meta.canonical} />
{/if}
<meta name="description" content={$page.data.meta.description} />
<meta content={$page.data.meta.image} property="og:image" />

<!-- <meta property="og:image:secure_url" content={$page.data.meta.image} /> -->
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
Expand Down

0 comments on commit 81c62c3

Please sign in to comment.