only show desc if there is one
This commit is contained in:
parent
a96eb6a2c9
commit
96a319112c
1 changed files with 3 additions and 1 deletions
|
@ -16,5 +16,7 @@
|
||||||
{:else}
|
{:else}
|
||||||
<meta property="og:image" content={$page.url.origin + (image.length ? image : '/api/avatar')} />
|
<meta property="og:image" content={$page.url.origin + (image.length ? image : '/api/avatar')} />
|
||||||
{/if}
|
{/if}
|
||||||
|
{#if descripton.length}
|
||||||
<meta property="og:description" content={descripton} />
|
<meta property="og:description" content={descripton} />
|
||||||
|
{/if}
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
Loading…
Reference in a new issue