diff --git a/src/components/posts/PostHeader.svelte b/src/components/posts/PostHeader.svelte index 9bf77ea..5cdb4e2 100644 --- a/src/components/posts/PostHeader.svelte +++ b/src/components/posts/PostHeader.svelte @@ -38,44 +38,44 @@
-

- - {#if post.muted} - - {:else if post.author.avatar} - Avatar +

+ + {#if post.muted} + + {:else if post.author.avatar} + Avatar + {:else} + + {/if} + + + {post.authorDisplayName} + + {#if post.isFediPost} + @{post.authorFediHandle} + Mastodon logo {:else} - + {post.hasValidHandle ? `@${post.author.handle}` : '[invalid handle]'} {/if} - - {post.authorDisplayName} - - {#if post.isFediPost} - @{post.authorFediHandle} - Mastodon logo - {:else} - {post.hasValidHandle ? `@${post.author.handle}` : '[invalid handle]'} - {/if} - - • + • - {presenter.formattedTimestamp} + {presenter.formattedTimestamp} - {#if (post.replyCount > 0 && !post.isPageRoot) || ['quote', 'quotes', 'feed'].includes(placement)} - • + {#if (post.replyCount > 0 && !post.isPageRoot) || ['quote', 'quotes', 'feed'].includes(placement)} + • - {#if ['quote', 'quotes', 'feed'].includes(placement)} - - {:else} - + {#if ['quote', 'quotes', 'feed'].includes(placement)} + + {:else} + + {/if} {/if} - {/if} -

+

-{#if activeAnchor} - -{/if} + {#if activeAnchor} + + {/if}