Ver código fonte

remove post slug , edit h5 size

pull/230/head
Alej 1 ano atrás
pai
commit
40752cf61d
1 arquivos alterados com 9 adições e 8 exclusões
  1. 9
    8
      vue-theme/src/components/breadcrumb.vue

+ 9
- 8
vue-theme/src/components/breadcrumb.vue Ver arquivo

@@ -2,18 +2,19 @@
2 2
 //- breadcrumb links at top of page, needs link routing
3 3
 nav.breadcrumb.f-row.start.t-up
4 4
     router-link(v-if="['event','exhibition'].includes(type)" :to="`/${type}/sorted/by-current-and-upcoming`")
5
-        h5.t-up {{ type }}
5
+        p.t-up {{ type }}
6 6
     router-link(v-else-if="type == 'post'" :to="`/blog`")
7
-        h5.t-up blog
7
+        p.t-up blog
8 8
     router-link(v-else-if="type == 'page'" :to="`/`")
9
-        h5.t-up 
9
+        p.t-up 
10 10
     router-link(v-else :to="`/${type}`")
11
-        h5.t-up {{ type }}
12
-    h5  > 
11
+        p.t-up {{ type }}
12
+    /* testing remove post slug to reduce repetition  */
13
+    /* h5  > 
13 14
     router-link(v-if="type == 'post'" :to="`/blog/${post.slug}`")
14 15
         h5 {{ post.title }}
15 16
     router-link(v-else :to="`/${type}/${post.slug}`")
16
-        h5 {{ post.title }}
17
+        h5 {{ post.title }} */
17 18
 </template>
18 19
 
19 20
 <script>
@@ -29,7 +30,7 @@ export default {
29 30
 // prettier-ignore
30 31
 @import '../sss/variables.sss'
31 32
 @import '../sss/theme.sss'
32
-.breadcrumb
33
+/* .breadcrumb
33 34
     h5
34
-        font-size: $ms--1
35
+        font-size: $ms--1 */
35 36
 </style>

Carregando…
Cancelar
Salvar