|
|
@@ -9,25 +9,25 @@
|
|
9
|
9
|
section(v-if="allSticky && Object.keys(allSticky).length").stickies
|
|
10
|
10
|
ul.flipped(:class="[`sticky-${Object.keys(allSticky).length}`]")
|
|
11
|
11
|
//- if sticky
|
|
12
|
|
- li.shadow.post(v-for="sticky in allSticky")
|
|
|
12
|
+ li.post(v-for="sticky in allSticky")
|
|
13
|
13
|
card(:content="sticky" :type="`${sticky.type}`")
|
|
14
|
14
|
|
|
15
|
15
|
//- firstRow: ['episodes', 'exhibitions', 'events', 'shorts', 'posts'], exceprt on episodes only.
|
|
16
|
16
|
section
|
|
17
|
17
|
ul
|
|
18
|
|
- li.shadow.post(v-for="type in firstRow")
|
|
|
18
|
+ li.post(v-for="type in firstRow")
|
|
19
|
19
|
card(:content="firstPostOfType(type)" :type="type")
|
|
20
|
20
|
|
|
21
|
21
|
//- secondRow: 'artists', // This is only ONE post, excerpt on artist
|
|
22
|
22
|
section.max
|
|
23
|
23
|
ul.w-max
|
|
24
|
|
- li.shadow.post(v-for="post in randomPosts.filter(p => p.type == secondRow)")
|
|
|
24
|
+ li.post(v-for="post in randomPosts.filter(p => p.type == secondRow)")
|
|
25
|
25
|
card(v-if="post" :content="post" :type="`${post.type}`" :wide="true")
|
|
26
|
26
|
|
|
27
|
27
|
//- (thirdRow) firstRow.flipped: ['guides', 'objects', 'techniques', 'talks', 'center'], exceprt on guides only
|
|
28
|
28
|
section
|
|
29
|
29
|
ul.flipped
|
|
30
|
|
- li.shadow.post(v-for="type in thirdRow")
|
|
|
30
|
+ li.post(v-for="type in thirdRow")
|
|
31
|
31
|
.random--wrapper(v-for="post in randomPosts.filter(p => p.type == type)")
|
|
32
|
32
|
card(:content="post" :type="type")
|
|
33
|
33
|
</template>
|