Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
<script context="module">
/**
* @type {import('@sveltejs/kit').Load}
*/
export function load({ page }) {
const { params } = page;
return loadPostForSlug(params.slug);
}
</script>
<script>
import Post from '$lib/components/Post.svelte';
import { loadPostForSlug } from '$lib/posts';
export let post;
</script>
<Post {post}/>