diff --git a/src/components/ui/cards/CardRelated.astro b/src/components/ui/cards/CardRelated.astro index 54c917b..2d5b665 100644 --- a/src/components/ui/cards/CardRelated.astro +++ b/src/components/ui/cards/CardRelated.astro @@ -4,16 +4,17 @@ import { Image } from "astro:assets"; import { formatDate } from "@utils/utils"; import type { CollectionEntry } from "astro:content"; -const { blogEntry } = Astro.props; +const { blogEntry, recentBlogLocale = "" } = Astro.props; interface Props { blogEntry: CollectionEntry<"blog">; + recentBlogLocale?: string; } ---
diff --git a/src/pages/fr/blog/[...slug].astro b/src/pages/fr/blog/[...slug].astro index 0146a2b..1274fa5 100644 --- a/src/pages/fr/blog/[...slug].astro +++ b/src/pages/fr/blog/[...slug].astro @@ -159,7 +159,7 @@ const pageTitle: string = `${post.data.title} | ${SITE.title}`;
- {relatedPosts.map((entry) => )} + {relatedPosts.map((entry) => )}