// Homepage grid
.page--index.f-col.between
header.w-max(v-if="allPages.welcome")
.page-content(v-html="allPages.welcome.content")
article.w-max
//- sticky section
section(v-if="allSticky && Object.keys(allSticky).length").stickies
ul.flipped(:class="[`sticky-${Object.keys(allSticky).length}`]")
//- if sticky
li.shadow(v-for="sticky in allSticky")
card(:content="sticky" :type="`${sticky.type}`")
//- firstRow: ['episodes', 'exhibitions', 'events', 'shorts', 'posts'], exceprt on episodes only.
section
ul
li.shadow(v-for="type in firstRow")
card(:content="firstPostOfType(type)" :type="type")
//- secondRow: 'artists', // This is only ONE post, excerpt on artist
section.max
ul.w-max
li.shadow(v-for="post in randomPosts.filter(p => p.type == secondRow)")
card(v-if="post" :content="post" :type="`${post.type}`" :wide="true")
//- (thirdRow) firstRow.flipped: ['guides', 'objects', 'techniques', 'talks', 'center'], exceprt on guides only
section
ul.flipped
li.shadow(v-for="type in thirdRow")
.random--wrapper(v-for="post in randomPosts.filter(p => p.type == type)")
card(:content="post" :type="type")