X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/be1ce532b26aea4e3e2258da78849bd245f7f78b..852ee620f0a2f6a83cf83eba860ca951b66bb7e2:/src/lib/components/post/post.svelte
diff --git a/src/lib/components/post/post.svelte b/src/lib/components/post/post.svelte
index 535f7ac..b0f99e4 100644
--- a/src/lib/components/post/post.svelte
+++ b/src/lib/components/post/post.svelte
@@ -15,26 +15,30 @@
class="post-meta"
title={$_('post.metadata_title', { values: { count: index + 1, total: count } })}
>
-
-
- {$_('post.author_credit')}
- {post.author.handle}.
-
+
+ {#if post.author}
+
+ {$_('post.author_credit')}
+ {post.author.handle}.
+
+ {:else}
+ ????
+ {/if}
{#if post.topic}
- ({$_('post.topic_location')} {post.topic.title}.)
+ ({$_('post.topic_location')} {post.topic.title}.)
{/if}
{post.text}