<script lang="ts">
	import siteMetadata from '$content/metadata.json';
	import PostList from '$lib/components/PostList.svelte'

	import type { PageData } from './$types';
	export let data: PageData;
	const { posts, maxPageN } = data;
</script>

<svelte:head>
	<title>{siteMetadata.blogName}</title>
</svelte:head>

<hr class="separator" />
<PostList {posts} pageN=1 {maxPageN}/>
