ajdfhsjdf

This commit is contained in:
cirroskais 2024-04-22 08:49:41 -04:00
parent f41bbf3684
commit 5582e539ff
No known key found for this signature in database
GPG key ID: 36FBC361DF481862

View file

@ -5,20 +5,15 @@
image = '',
descripton = '',
bigImage = '';
// hate
page.subscribe((_) => {
if (!image.length) image = _.url.origin + '/api/avatar';
});
</script>
<svelte:head>
<title>{title}</title>
<meta property="og:title" content={title} />
{#if bigImage.length}
<meta property="og:thumbnail" content={bigImage} />
<meta property="og:thumbnail" content={$page.url.origin + bigImage} />
{:else}
<meta property="og:image" content={image} />
<meta property="og:image" content={$page.url.origin + image} />
{/if}
<meta property="og:description" content={descripton} />
</svelte:head>