about summary refs log tree commit diff
path: root/layouts/default.vue
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-17 21:56:13 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-17 21:56:13 +0200
commit5cbfdab567005a963ef3c4f1ee4f1412f9c0de47 (patch)
tree637695cbd54494fe0f98a31f66c0f8ad6589a1a5 /layouts/default.vue
parent61dfb8f8e6aa261c3743ef7315a5358cb8867ab9 (diff)
downloadpuszcza-5cbfdab567005a963ef3c4f1ee4f1412f9c0de47.tar.gz
puszcza-5cbfdab567005a963ef3c4f1ee4f1412f9c0de47.zip
Fix empty post list
Diffstat (limited to 'layouts/default.vue')
-rw-r--r--layouts/default.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/default.vue b/layouts/default.vue
index 3341547..7f9ec5b 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -2,11 +2,11 @@
   <div id="app">
     <NavBar
       :routes="routes"
-      :externalRoutes="externalRoutes"
+      :staticRoutes="staticRoutes"
       title="19 PDH Puszcza"
       logo="/assets/krajka-logo.svg"
     />
-    <nuxt id="content" />
+    <nuxt id="content" :key="$route.path" />
     <Footer :routes="routes" :specialRoutes="specialRoutes" />
   </div>
 </template>
@@ -23,9 +23,9 @@ export default {
       routes: [
         { path: '/', name: 'Strona główna' },
         { path: '/download', name: 'Do pobrania' },
-        { path: '/kontakt', name: 'Kontakt' },
-        { path: '/kronika', name: 'Kronika' }
+        { path: '/kontakt', name: 'Kontakt' }
       ],
+      staticRoutes: [{ path: '/kronika', name: 'Kronika' }],
       externalRoutes: [
         // {
         //   path: 'https://kronika-puszcza.netlify.com',