From 6ccc6f60fc85e665c8a07a169efbe8d09c9d9e8e Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Tue, 31 May 2022 01:09:58 +0200 Subject: Lint, rm unused code --- src/lib/components/post/post.svelte | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'src/lib/components/post/post.svelte') diff --git a/src/lib/components/post/post.svelte b/src/lib/components/post/post.svelte index b0f99e4..dfabdce 100644 --- a/src/lib/components/post/post.svelte +++ b/src/lib/components/post/post.svelte @@ -16,29 +16,40 @@ title={$_('post.metadata_title', { values: { count: index + 1, total: count } })} > - {#if post.author} - - {$_('post.author_credit')} - {post.author.handle}. - - {:else} - ???? - {/if} + {#if post.author} + + {$_('post.author_credit')} + {post.author.handle}. + + {:else} + ???? + {/if} {#if post.topic} - ({$_('post.topic_location')} {post.topic.title}.) + ({$_('post.topic_location')} + {post.topic.title}.) {/if}
{post.text} -- cgit