fix: 'undefined' in title of community page
This commit is contained in:
1 parent
db753ff6dc
commit
b277a3562f
2 files changed
+11
-16
No files matched your search
@@ -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 />
|
||||
Reference in new issue
Block a user