<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, pageN, maxPageN } = data
</script>

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

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

<style>
</style>
