Procházet zdrojové kódy

"by all" for posts, removed "by" from current/upcoming

tags/1.0.3
Alej před 2 roky
rodič
revize
db3b6b9b42
1 změnil soubory, kde provedl 7 přidání a 13 odebrání
  1. 7
    13
      vue-theme/src/components/sidebars/sidebar.vue

+ 7
- 13
vue-theme/src/components/sidebars/sidebar.vue Zobrazit soubor

@@ -25,13 +25,6 @@ aside.sidebar
25 25
                     //- event?type=talks //
26 26
                     router-link(v-if="type === 'event' " :to="`/${type}?type=talks`")
27 27
                         p talks 
28
-                //- li 
29
-                //-     //- event?type=recorded-talks-and-interviews //
30
-                //-     router-link(v-if="type === 'event' " :to="`/${type}?type=recorded-talks-and-interviews`")
31
-                //-         p Recorded Talks + Interviews 
32
-                //- li 
33
-                //-     router-link(v-if="type === 'event' " :to="`/page/recorded-talks-and-interviews`")
34
-                //-         p Recorded Talks + Interviews 
35 28
                 li 
36 29
                     //- event?type=workshops //
37 30
                     router-link(v-if="type === 'event' " :to="`/${type}?type=workshops`")
@@ -40,13 +33,14 @@ aside.sidebar
40 33
                     //- by type //
41 34
                 li(v-for="option in sortOptions")
42 35
                     router-link(:to="`/${type}/sorted/${sortTypes[option]}`")
43
-                        p {{ option }}
36
+                        p {{ option }} 
44 37
                 li
45 38
                     router-link(v-if="shouldShowDateSort.includes(type) " :to="`/${type}/sorted/by-current-and-upcoming`")
46
-                        p by current and upcoming
47
-                //- li
48
-                //-     router-link(v-if="type === ('event' || 'exhibition') " :to="`/${type}/`")
49
-                //-         p by all 
39
+                        p current and upcoming
40
+                li
41
+                    //- router-link(v-if="type === ('post') " :to="`/${type}/`")
42
+                    router-link(v-if="type === ('post') " :to="`/blog`")
43
+                        p by all 
50 44
 
51 45
         //- if artist has sorted by-alpha show alpha sets           
52 46
         .shadow(v-if="['artist'].includes(type) && layout !== 'single'")
@@ -75,7 +69,7 @@ aside.sidebar
75 69
                         router-link(:to="`/${type}/sorted/by-episode#${episodeSet}`")
76 70
                             p {{ episodeSet }}   
77 71
 
78
-        //- if {{type}} has sorted by-type show subtype sets           
72
+        //- if {{type}} has sorted by-type show subtype sets 
79 73
         .shadow(v-if="shouldShowTypeSort.includes(type) && layout !== 'single'")
80 74
             h3.t-up {{ type }}s type  
81 75
             ul.t-up

Načítá se…
Zrušit
Uložit