fix: 'undefined' in title of community page

This commit is contained in:
Xyphyn committed 2023-08-16 16:02:02 -07:00
1 parent db753ff6dc
commit b277a3562f
2 files changed
+11 -16

No files matched your search

+11 -1
View File
@@ -4,6 +4,16 @@
<svelte:head>
<title>{data.community.community_view.community.title}</title>
</svelte:head>
<meta
name="og:title"
content={data.community.community_view.community.title}
/>
{#if data.community.community_view.community.description}
<meta
name="og:description"
content={data.community.community_view.community.description}
/>
{/if}
</svelte:head>
<slot />