Add href attribute to post timestamp element
This commit is contained in:
parent
88bdd69233
commit
a8c10d83c4
1 changed files with 4 additions and 6 deletions
|
@ -24,18 +24,16 @@
|
||||||
>
|
>
|
||||||
<img :src="require('@/assets/tabler/corner-left-up.svg')">
|
<img :src="require('@/assets/tabler/corner-left-up.svg')">
|
||||||
</a>
|
</a>
|
||||||
<a
|
<span
|
||||||
class="icon icon-small"
|
class="icon icon-small"
|
||||||
:href="post.uri"
|
|
||||||
:title="visibilityDisplay"
|
:title="visibilityDisplay"
|
||||||
target="_blank"
|
|
||||||
rel="noreferrer"
|
|
||||||
>
|
>
|
||||||
<visibility-icon :visibility="post.visibility"></visibility-icon>
|
<visibility-icon :visibility="post.visibility"></visibility-icon>
|
||||||
</a>
|
</span>
|
||||||
<a
|
<a
|
||||||
class="timestamp"
|
class="timestamp"
|
||||||
@click="navigateTo(post.id)"
|
:href="post.uri"
|
||||||
|
@click.prevent="navigateTo(post.id)"
|
||||||
>
|
>
|
||||||
{{ formatDate(post.created_at) }}
|
{{ formatDate(post.created_at) }}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue