diff --git a/src/components/widgets/BlogListItem.astro b/src/components/widgets/BlogListItem.astro index cca1f1c..5cbaa3c 100644 --- a/src/components/widgets/BlogListItem.astro +++ b/src/components/widgets/BlogListItem.astro @@ -3,6 +3,7 @@ import Picture from "~/components/core/Picture.astro"; import { getPermalink } from "~/utils/permalinks"; import { findImage } from "~/utils/findImage"; import { getFormattedDate } from "~/utils/getFormatedDate"; +import PostTags from "./PostTags.astro"; const { post } = Astro.props; @@ -19,7 +20,7 @@ const image = await findImage(post.image);
\ No newline at end of file diff --git a/src/components/widgets/BlogPost.astro b/src/components/widgets/BlogPost.astro index 24a6659..ef52e85 100644 --- a/src/components/widgets/BlogPost.astro +++ b/src/components/widgets/BlogPost.astro @@ -1,6 +1,7 @@ --- import Picture from "~/components/core/Picture.astro"; import { getFormattedDate } from "~/utils/getFormatedDate"; +import PostTags from "~/components/widgets/PostTags.astro"; const { post } = Astro.props; --- @@ -12,10 +13,9 @@ const { post } = Astro.props; ~ {Math.ceil(post.readingTime)} min read