diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-04-20 23:38:02 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-04-20 23:38:02 +0200 |
| commit | 47b0bfe47e6f13d549897149b0abc4a72ba8ac88 (patch) | |
| tree | cd694411d47898a4eb10b1c0e6787f81fce6f0e6 /src/components/post/post.svelte | |
| parent | 879fa389c2592760def75177eefbd3193e1845c9 (diff) | |
Add tests to second batch of components
- Error Block
- Forum List
- Language Selector
- Post
- Tag
- Topic Summary
Diffstat (limited to 'src/components/post/post.svelte')
| -rw-r--r-- | src/components/post/post.svelte | 2 |
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" |