X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/be1ce532b26aea4e3e2258da78849bd245f7f78b..refs/heads/main:/src/lib/components/post/post.svelte
diff --git a/src/lib/components/post/post.svelte b/src/lib/components/post/post.svelte
index 535f7ac..dfabdce 100644
--- a/src/lib/components/post/post.svelte
+++ b/src/lib/components/post/post.svelte
@@ -15,26 +15,41 @@
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}