<!-- Layout for posts -->
<script lang="ts">
    import { type BlogData } from './+layout';

    export let data : BlogData
</script>

{#if data}
    <h3>{data.post.title}</h3>
{/if}

<slot />
