Add href attribute to post timestamp element

This commit is contained in:
silverpill 2022-02-16 18:55:27 +00:00
parent 88bdd69233
commit a8c10d83c4

View file

@ -24,18 +24,16 @@
>
<img :src="require('@/assets/tabler/corner-left-up.svg')">
</a>
<a
<span
class="icon icon-small"
:href="post.uri"
:title="visibilityDisplay"
target="_blank"
rel="noreferrer"
>
<visibility-icon :visibility="post.visibility"></visibility-icon>
</a>
</span>
<a
class="timestamp"
@click="navigateTo(post.id)"
:href="post.uri"
@click.prevent="navigateTo(post.id)"
>
{{ formatDate(post.created_at) }}
</a>