about summary refs log tree commit diff
path: root/components/NavLink.vue
diff options
context:
space:
mode:
Diffstat (limited to 'components/NavLink.vue')
-rw-r--r--components/NavLink.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/NavLink.vue b/components/NavLink.vue
index 253dde9..6074db0 100644
--- a/components/NavLink.vue
+++ b/components/NavLink.vue
@@ -1,6 +1,7 @@
 <template>
   <li class="navlink">
     <a v-if="external" class="link" target="_blank" rel="”noopener”" :href="link">{{ name }}</a>
+    <a v-else-if="static" class="link" :href="link">{{ name }}</a>
     <nuxt-link v-else class="link" :to="link">{{ name }}</nuxt-link>
   </li>
 </template>
@@ -10,7 +11,8 @@ export default {
   props: {
     link: String,
     name: String,
-    external: { type: Boolean, default: false }
+    external: { type: Boolean, default: false },
+    static: { type: Boolean, default: false }
   }
 }
 </script>