Add SEO stuff
This commit is contained in:
@@ -18,10 +18,15 @@
|
||||
<meta name="description" content={description}>
|
||||
|
||||
<meta property="og:title" content={title} />
|
||||
<meta name="twitter:title" content={title} />
|
||||
{#if description}
|
||||
<meta property="og:description" content={description} />
|
||||
<meta name="twitter:description" content={description} />
|
||||
{/if}
|
||||
<meta property="og:type" content={type} />
|
||||
{#if image}
|
||||
<meta property="og:image" content={image} />
|
||||
<meta name="twitter:image" content={image} />
|
||||
{/if}
|
||||
{#if url}
|
||||
<meta property="og:url" content={url} />
|
||||
|
||||
@@ -65,6 +65,8 @@
|
||||
<svelte:window bind:innerHeight />
|
||||
|
||||
<svelte:head>
|
||||
<link rel="canonical" href={$page.url.href} />
|
||||
|
||||
{#each fonts as font}
|
||||
<link rel="preload" href="/fonts/{font}.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user