From 879fa389c2592760def75177eefbd3193e1845c9 Mon Sep 17 00:00:00 2001
From: Ruben Beltran del Rio <ruben@unlimited.pizza>
Date: Mon, 19 Apr 2021 21:04:59 +0200
Subject: Add tests for first batch of components

- Glyph
- Forum List
- Error Block
- Post
---
 src/components/post/post.svelte | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'src/components/post/post.svelte')

diff --git a/src/components/post/post.svelte b/src/components/post/post.svelte
index 5d8ef1c..fd9e580 100644
--- a/src/components/post/post.svelte
+++ b/src/components/post/post.svelte
@@ -23,11 +23,9 @@
 			{timestampToISO(post.created_at)}
 		</a>
 	</time>
-	{#if post.topic}
-		<span class="h-card">
-			({$_('post.topic_location')} <a href="/t/{post.topic.id}">{post.topic.title}</a>.)
-		</span>
-	{/if}
+  <span>
+    ({$_('post.topic_location')} <a href="/t/{post.topic.id}">{post.topic.title}</a>.)
+  </span>
 </aside>
 <article
 	class="e-content"
-- 
cgit 

