Fix opengraph data
This commit is contained in:
parent
220010ec6b
commit
171795b3fe
2 changed files with 6 additions and 3 deletions
|
@ -9,6 +9,7 @@
|
|||
{#if $page.data.header_alt}
|
||||
<meta property="og:image:alt" content={$page.data.header_alt} />
|
||||
{/if}
|
||||
<meta property="og:description" content={$page.data.description} />
|
||||
{/if}
|
||||
</svelte:head>
|
||||
|
||||
|
|
|
@ -22,11 +22,13 @@
|
|||
<meta property="og:site_name" content="pancakes" />
|
||||
<meta
|
||||
property="og:url"
|
||||
content={"https://trypancakes.com" + $page.url.pathname}
|
||||
content={"https://pancakes.gay" + $page.url.pathname}
|
||||
/>
|
||||
<meta property="og:title" content={$page.data.title || "pancakes"} />
|
||||
<meta property="og:image" content="/favicon.png" />
|
||||
<meta property="og:image:alt" content="a black cat with large eyes" />
|
||||
{#if !$page.data.header}
|
||||
<meta property="og:image" content="/favicon.png" />
|
||||
<meta property="og:image:alt" content="a black cat with large eyes" />
|
||||
{/if}
|
||||
</svelte:head>
|
||||
|
||||
<Navbar />
|
||||
|
|
Loading…
Add table
Reference in a new issue