]> git.r.bdr.sh - rbdr/forum/blobdiff - src/components/post/post.svelte
Add topics store pact tests
[rbdr/forum] / src / components / post / post.svelte
index 5d8ef1cb179d1e1bdf6cc033b1078ec7d6c949fb..66901af69601edc06db88d08c35eaf1668bc76f1 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}
+  {#if post.topic}
+  <span>
+    ({$_('post.topic_location')} <a href="/t/{post.topic.id}">{post.topic.title}</a>.)
+  </span>
+  {/if}
 </aside>
 <article
        class="e-content"