Przeglądaj źródła

theme to display blank for pages

tags/1.0.3
Alej 3 lat temu
rodzic
commit
78b731c818
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3
    1
      vue-theme/src/components/breadcrumb.vue

+ 3
- 1
vue-theme/src/components/breadcrumb.vue Wyświetl plik

@@ -5,9 +5,11 @@ nav.breadcrumb.f-row.start.t-up
5 5
         h5.t-up {{ type }}
6 6
     router-link(v-else-if="type == 'post'" :to="`/blog`")
7 7
         h5.t-up blog
8
+    router-link(v-else-if="type == 'page'" :to="`/`")
9
+        h5.t-up 
8 10
     router-link(v-else :to="`/${type}`")
9 11
         h5.t-up {{ type }}
10
-    h5   
12
+    h5   
11 13
     router-link(v-if="type == 'post'" :to="`/blog/${post.slug}`")
12 14
         h5 {{ post.title }}
13 15
     router-link(v-else :to="`/${type}/${post.slug}`")

Ładowanie…
Anuluj
Zapisz