|
|
@@ -8,16 +8,59 @@ aside.sidebar
|
|
8
|
8
|
li(v-for="option in sortOptions")
|
|
9
|
9
|
router-link(:to="`/${type}/sorted/${sortTypes[option]}`")
|
|
10
|
10
|
p {{ option }}
|
|
11
|
|
- //- exhibition, event list sidebar
|
|
|
11
|
+ //- if exhibition, event list sidebar
|
|
12
|
12
|
template(v-if="['exhibition', 'event'].includes(type) && layout === 'list'")
|
|
13
|
13
|
router-link(:to="`/${type}`")
|
|
14
|
14
|
p by all
|
|
15
|
15
|
router-link(:to="`/${type}/sorted/by-current-and-upcoming`")
|
|
16
|
16
|
p by current and upcoming
|
|
17
|
|
- //- list sidebar
|
|
18
|
|
- template(v-if="['short', 'guide', 'publication', 'technique', 'post'].includes(type) && layout === 'list'")
|
|
|
17
|
+ //- if other list sidebar
|
|
|
18
|
+ template(v-if="['short', 'guide', 'publication', 'technique', 'object', 'post'].includes(type) && layout === 'list'")
|
|
19
|
19
|
router-link(:to="`/${type}`")
|
|
20
|
20
|
p by all
|
|
|
21
|
+
|
|
|
22
|
+ //- if {{type}} sorted by-material show material options
|
|
|
23
|
+ .shadow(v-if="['artist', 'technique', 'short', 'object', 'guide'].includes(type) && layout !== 'single'")
|
|
|
24
|
+ h3.t-up {{ type }} by material
|
|
|
25
|
+ ul.t-up
|
|
|
26
|
+ li
|
|
|
27
|
+ router-link(v-if="type == 'artist', 'object'" :to="`/${type}/sorted/by-material#clay`")
|
|
|
28
|
+ p {{ option }} clay
|
|
|
29
|
+ router-link(v-if="type == 'artist', 'object'" :to="`/${type}/sorted/by-material#fiber`")
|
|
|
30
|
+ p fiber
|
|
|
31
|
+ router-link(v-if="type == 'artist', 'object'" :to="`/${type}/sorted/by-material#glass`")
|
|
|
32
|
+ p glass
|
|
|
33
|
+ router-link(v-if="type == 'artist', 'object'" :to="`/${type}/sorted/by-material#metal`")
|
|
|
34
|
+ p metal
|
|
|
35
|
+ router-link(v-if="type == 'artist', 'object'" :to="`/${type}/sorted/by-material#paper`")
|
|
|
36
|
+ p paper
|
|
|
37
|
+ router-link(v-if="type == 'artist', 'object'" :to="`/${type}/sorted/by-material#wood`")
|
|
|
38
|
+ p wood
|
|
|
39
|
+
|
|
|
40
|
+ //- if artist sorted by-alpha show alpha options
|
|
|
41
|
+ .shadow(v-if="['artist'].includes(type) && layout !== 'single'")
|
|
|
42
|
+ h3.t-up {{ type }} alpha
|
|
|
43
|
+ ul.t-up
|
|
|
44
|
+ li
|
|
|
45
|
+ router-link(:to="`/${type}/sorted/by-alpha#0`")
|
|
|
46
|
+ p 0 a b
|
|
|
47
|
+ router-link(:to="`/${type}/sorted/by-alpha#c`")
|
|
|
48
|
+ p c d e
|
|
|
49
|
+ router-link(:to="`/${type}/sorted/by-alpha#f`")
|
|
|
50
|
+ p f g h
|
|
|
51
|
+ router-link(:to="`/${type}/sorted/by-alpha#i`")
|
|
|
52
|
+ p i j k
|
|
|
53
|
+ router-link(:to="`/${type}/sorted/by-alpha#l`")
|
|
|
54
|
+ p l m n
|
|
|
55
|
+ router-link(:to="`/${type}/sorted/by-alpha#o`")
|
|
|
56
|
+ p o p q
|
|
|
57
|
+ router-link(:to="`/${type}/sorted/by-alpha#r`")
|
|
|
58
|
+ p r s t
|
|
|
59
|
+ router-link(:to="`/${type}/sorted/by-alpha#u`")
|
|
|
60
|
+ p u v w
|
|
|
61
|
+ router-link(:to="`/${type}/sorted/by-alpha#x`")
|
|
|
62
|
+ p x y z
|
|
|
63
|
+
|
|
21
|
64
|
|
|
22
|
65
|
//- p2p types and related posts
|
|
23
|
66
|
.shadow(v-if="layout === 'single' && Object.keys(related).length" v-for="p2pPostType in Object.keys(related)")
|