diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-04-19 21:04:59 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-04-19 21:04:59 +0200 |
| commit | 879fa389c2592760def75177eefbd3193e1845c9 (patch) | |
| tree | 8648bb1790cea8b482b18ef10b4b5cab508b0ba3 /src/components/post/post.svelte | |
| parent | 77182aa8d0fa96b594d1c2582a168e2ebe15964d (diff) | |
Add tests for first batch of components
- Glyph
- Forum List
- Error Block
- Post
Diffstat (limited to 'src/components/post/post.svelte')
| -rw-r--r-- | src/components/post/post.svelte | 8 |
1 files changed, 3 insertions, 5 deletions
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" |