added post visibility indicator

This commit is contained in:
ari melody 2024-06-21 05:43:23 +01:00
parent 46f1f93329
commit 919b1f6ebb
Signed by: ari
GPG key ID: CF99829C92678188
4 changed files with 12 additions and 6 deletions

View file

@ -19,6 +19,9 @@
<div class="post-info">
<a href={post.url} class="created-at">
<time title={time_string}>{short_time(post.created_at)}</time>
{#if post.visibility !== "public"}
<span class="post-visibility">({post.visibility})</span>
{/if}
</a>
</div>
</header>