about summary refs log tree commit diff
path: root/components/Posts/PostLink.vue
diff options
context:
space:
mode:
Diffstat (limited to 'components/Posts/PostLink.vue')
-rw-r--r--components/Posts/PostLink.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/Posts/PostLink.vue b/components/Posts/PostLink.vue
index 54cd934..d3b34fc 100644
--- a/components/Posts/PostLink.vue
+++ b/components/Posts/PostLink.vue
@@ -1,11 +1,11 @@
 <template>
   <div class="post-link">
-    <a :href="route">
+    <nuxt-link :to="route">
       <div class="post-container">
         <h4 class="post-title">{{ title }}</h4>
         <p class="post-description">{{ shortenedDescription }}...</p>
       </div>
-    </a>
+    </nuxt-link>
   </div>
 </template>