aboutsummaryrefslogtreecommitdiff
path: root/src/components/post/post.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/post/post.svelte')
-rw-r--r--src/components/post/post.svelte2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/post/post.svelte b/src/components/post/post.svelte
index fd9e580..66901af 100644
--- a/src/components/post/post.svelte
+++ b/src/components/post/post.svelte
@@ -23,9 +23,11 @@
{timestampToISO(post.created_at)}
</a>
</time>
+ {#if post.topic}
<span>
({$_('post.topic_location')} <a href="/t/{post.topic.id}">{post.topic.title}</a>.)
</span>
+ {/if}
</aside>
<article
class="e-content"