瀏覽代碼

sidebar typo and URL fix

tags/0.9.0
Alej 4 年之前
父節點
當前提交
fdcd12258f
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4
    3
      vue-theme/src/components/sidebars/sidebar.vue

+ 4
- 3
vue-theme/src/components/sidebars/sidebar.vue 查看文件

3
     section
3
     section
4
         //- if not single layout with sorting
4
         //- if not single layout with sorting
5
         .shadow(v-if="['artist', 'exhibition', 'event', 'short', 'guide', 'object', 'publication', 'technique', 'post'].includes(type) && layout !== 'single'")
5
         .shadow(v-if="['artist', 'exhibition', 'event', 'short', 'guide', 'object', 'publication', 'technique', 'post'].includes(type) && layout !== 'single'")
6
-            h3.t-up sort {{ type }} by
6
+            h3.t-up sort {{ type }}
7
             ul.t-up
7
             ul.t-up
8
                 li(v-for="option in sortOptions")
8
                 li(v-for="option in sortOptions")
9
                     router-link(:to="`/${type}/sorted/${sortTypes[option]}`")
9
                     router-link(:to="`/${type}/sorted/${sortTypes[option]}`")
10
                         p {{ option }}
10
                         p {{ option }}
11
-                //- temporary reminder
11
+                //- exhibition, event list sidebar
12
                 template(v-if="['exhibition', 'event'].includes(type) && layout === 'list'")
12
                 template(v-if="['exhibition', 'event'].includes(type) && layout === 'list'")
13
                     p 
13
                     p 
14
-                        router-link(:to="`/${type}/`")
14
+                        router-link(:to="`/${type}`")
15
                             p by all
15
                             p by all
16
                     p 
16
                     p 
17
                         router-link(:to="`/${type}/sorted/by-current-and-upcoming`")
17
                         router-link(:to="`/${type}/sorted/by-current-and-upcoming`")
18
                             p by current and upcoming
18
                             p by current and upcoming
19
+                //- list sidebar 
19
                 template(v-if="['short', 'guide', 'publication', 'technique', 'post'].includes(type) && layout === 'list'")
20
                 template(v-if="['short', 'guide', 'publication', 'technique', 'post'].includes(type) && layout === 'list'")
20
                     p 
21
                     p 
21
                         router-link(:to="`/${type}`")
22
                         router-link(:to="`/${type}`")

Loading…
取消
儲存