diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index cb5ea3c..dedb47e 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -84,7 +84,7 @@ const { post } = Astro.props;
{ - post.data.tags.map((tag: string) => ( + post.data.tags?.map((tag: string) => ( {capitalize(tag)}