Skip to content

Commit eb2755a

Browse files
committed
Remove workaround of external link on blog posts
1 parent e5b8caf commit eb2755a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

components/section/BlogPosts.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,7 @@ const props = defineProps({
1919

2020
<div class="mb-4 grid grid-cols-1 gap-4 md:grid-cols-2">
2121
<div v-for="(article, ix) of articles" :key="ix">
22-
<!--
23-
Specify `external` to force the link to be considered as external. This
24-
resolves an issue where navigating to a blog post would load the previous
25-
post if the user clicked the back button -- this unexpected behavior is
26-
still not entirely understood, but at least this is a workaround.
27-
-->
28-
<NuxtLink :to="article.path" external>
22+
<NuxtLink :to="article.path">
2923
<div
3024
class="h-full space-y-4 rounded-lg bg-white/20 p-4 text-white drop-shadow-lg hover:ring-1 hover:ring-white"
3125
>

0 commit comments

Comments
 (0)