]> git.r.bdr.sh - rbdr/forum/blobdiff - src/components/post/post.svelte
Add tests for first batch of components
[rbdr/forum] / src / components / post / post.svelte
index 5d8ef1cb179d1e1bdf6cc033b1078ec7d6c949fb..fd9e580f906696c68e8e67fe8166b0e43e784453 100644 (file)
                        {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"