Skip to content

Commit

Permalink
feat(seo): add post description
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Apr 4, 2024
1 parent e3f1c52 commit c56e726
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions components/pages/posts/post/PostComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,19 @@
/>

<figcaption>
<!-- Post description -->
<span class="sr-only">
{{ post.media_type }} #{{ post.id }}
<!-- -->
from {{ post.domain }}
<!-- -->
with a score of {{ post.score }},
<!-- -->
{{ post.rating }} rating,
<!-- -->
tagged with {{ Object.values(post.tags).flat().join(', ') }}
</span>

<!-- Actions -->
<div class="flex items-center p-2">
<PostSave
Expand Down

0 comments on commit c56e726

Please sign in to comment.