// Homepage grid
.page--index.f-row.between
article.w-max
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}s`")
section
ul
li.shadow(v-for="type in ['episodes', 'exhibitions', 'events', 'artists', 'posts']")
card(:content="firstPostOfType(type)" :type="type")
section.max
ul.w-max
li.shadow(v-for="post in [randomPostOfType('artists')]")
card(v-if="post" :content="post" :type="`${post.type}s`" :wide="true")
section
ul.flipped
li.shadow(v-for="type in ['episodes', 'exhibitions', 'events', 'artists', 'artists']")
.random--wrapper(v-for="post in [randomPostOfType(type)]")
card(:content="post" :type="type")