<script>
	import { getAllContexts } from "svelte";

    export let data;
</script>

{#each data.body.posts as post }
    <h2>{post.title}</h2>
    <p>{post.body}</p>
    <img src="{post.coverImage.url}" alt="yes">
{/each}