<script context="module">
    import Link from './Link.svelte';
    export { Link as a };
</script>

<script>
    export let title, date;
    let pDate = new Date(date);
</script>


<div id="post">
    <h1>{title}</h1>
    <p><em>Composed: {pDate.toLocaleDateString('en-US')}</em></p>
    <slot></slot>
</div>
