Iām curious how I can list all items added in a module block. Say I am adding a bunch of file links, and just want it to list everything inside similar to listing all items with the all graphql call. I canāt seem to call module block content unless Iām specifically targeting a specific one using [0] [1] ect.
here is what I am playing with.
<template>
<div class="seapa-archives">
<section class="hero is-fullheight">
<div class="hero-body">
<div class="container has-text-centered">
<h1 class="title">Explore the Archive</h1>
</div>
</div>
<div class="hero-foot">
<div class="container has-text-centered">
<h3>EXPLORE</h3>
<div class="white-line"></div>
</div>
</div>
</section>
<section class="seapa-archives__header">
<div class="container is-fluid">
<div class="columns has-text-centered-mobile">
<div class="column is-7">
<h2>OUR TEAM</h2>
<h1>We believe in clean energy</h1>
<div class="blue-line"></div>
</div>
<div class="column is-3 is-offset-2-fullhd seapa-contact__header--contact">
<h5>907.228.2281</h5>
<h6><a href="mailto: info@seapahydro.com" style="color: inherit;">info@seapahydro.com</a></h6>
</div>
</div>
</div>
</section>
<section seapa-archives__documents>
<div class="container is-fluid">
<div class="columns is-multiline">
<div class="column is-4">
<h6>Date / Time</h6>
</div>
<div class="column is-4">
<h6>Type of Meeting</h6>
</div>
<div class="column is-4">
<h6>Materials</h6>
</div>
</div>
<div class="columns is-multiline">
<div class="column is-4">
<!-- <h6>{{archives.dateTime}}</h6> -->
</div>
<div class="column is-4">
<!-- <h6>{{archives.meetingType}}</h6> -->
</div>
<div class="column is-4">
<div class="column is-multiline">
<div class="column is-4" v-for="(archives, index) in allArchivedPackets" key="index">
<h6><a :href="archives.materials.link">{{archives.materials.title}}</a></h6>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</template>
<script>
import gql from 'graphql-tag'
export default {
apollo: {
allArchivedPackets: gql`{
allArchivedPackets {
materials {
title
link
}
dateTime
meetingType
}
}`
}
}
</script>
Itās not the structure of the whole page call, but I would like to just have a repeat of each item that is added to the block.