diff options
Diffstat (limited to 'website/src/layouts/BlogPost.astro')
| -rw-r--r-- | website/src/layouts/BlogPost.astro | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/website/src/layouts/BlogPost.astro b/website/src/layouts/BlogPost.astro index 3f7a999..267ea6c 100644 --- a/website/src/layouts/BlogPost.astro +++ b/website/src/layouts/BlogPost.astro @@ -4,7 +4,12 @@ import BaseHead from '../components/BaseHead.astro'; import FormattedDate from '../components/FormattedDate.astro'; import Navbar from '../components/Navbar.astro'; -type Props = CollectionEntry<'blog'>['data']; +type Props = { + title: string; + description?: string; + updatedDate?: Date; + pubDate: Date; +} const { title, description, pubDate, updatedDate } = Astro.props; |
