---
const { frontmatter } = Astro.props;
import BaseLayout from './BaseLayout.astro';
---

<BaseLayout pageTitle={frontmatter.title} >

<p>{frontmatter.pubDate.toString().slice(0,10)}</p>
<p> <em>{frontmatter.description}</em></p>
<p>Written by: {frontmatter.author}</p>
<img src={frontmatter.image.url} width="300" alt={frontmatter.image.alt} />
<slot />

</BaseLayout>