Add SEO stuff

This commit is contained in:
2022-09-26 23:13:45 +02:00
parent a241dd849d
commit 7898eb9bec
3 changed files with 9 additions and 2 deletions

View File

@@ -18,10 +18,15 @@
<meta name="description" content={description}> <meta name="description" content={description}>
<meta property="og:title" content={title} /> <meta property="og:title" content={title} />
<meta name="twitter:title" content={title} />
{#if description}
<meta property="og:description" content={description} /> <meta property="og:description" content={description} />
<meta name="twitter:description" content={description} />
{/if}
<meta property="og:type" content={type} /> <meta property="og:type" content={type} />
{#if image} {#if image}
<meta property="og:image" content={image} /> <meta property="og:image" content={image} />
<meta name="twitter:image" content={image} />
{/if} {/if}
{#if url} {#if url}
<meta property="og:url" content={url} /> <meta property="og:url" content={url} />

View File

@@ -65,6 +65,8 @@
<svelte:window bind:innerHeight /> <svelte:window bind:innerHeight />
<svelte:head> <svelte:head>
<link rel="canonical" href={$page.url.href} />
{#each fonts as font} {#each fonts as font}
<link rel="preload" href="/fonts/{font}.woff2" as="font" type="font/woff2" crossorigin="anonymous"> <link rel="preload" href="/fonts/{font}.woff2" as="font" type="font/woff2" crossorigin="anonymous">
{/each} {/each}

View File

@@ -1,7 +1,7 @@
{ {
"short_name": "Houses Of", "short_name": "Houses Of",
"name": "Houses Of - Beautiful houses around the world", "name": "Houses Of the World",
"description": "", "description": "Houses Of is a project showcasing charismatic houses around the world.",
"icons": [ "icons": [
{ {
"src": "/images/siteicon-192.png", "src": "/images/siteicon-192.png",