Skip to content

Commit

Permalink
fix(promoted content): open external links in a new tab, internal wit…
Browse files Browse the repository at this point in the history
…hout
  • Loading branch information
AlejandroAkbal committed Dec 21, 2023
1 parent d44b789 commit 8cf1545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/pages/posts/PromotedContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
<!-- Media -->
<NuxtLink
:href="promo.link"
:target="promo.link.startsWith('http') ? '_blank' : null"
class="focus-visible:focus-outline-util focus-visible:ring-inset"
target="_blank"
>
<PostMedia
:media-alt="'Promoted content'"
Expand Down

0 comments on commit 8cf1545

Please sign in to comment.