Explorar el Código

theme to display blank for pages

tags/1.0.3
Alej hace 3 años
padre
commit
78b731c818
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3
    1
      vue-theme/src/components/breadcrumb.vue

+ 3
- 1
vue-theme/src/components/breadcrumb.vue Ver fichero

@@ -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}`")

Loading…
Cancelar
Guardar