<template>
	<div class="content">
		<ul class="posts nolist">
			<li
				v-for="post in posts"
				:key="post.id"
			>
				<Post :post="post" />
			</li>
		</ul>
	</div>
</template>

<script setup>
import { usePageContext } from '../../renderer/usePageContext';
import Post from '../../components/posts/post.vue';

const { pageData } = usePageContext();
const { posts } = pageData;
</script>
