fix video url (#18)

This commit is contained in:
Juan Manzanero 2024-10-09 12:57:27 -06:00 committed by GitHub
parent 07d436fda9
commit f35ce9b4c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ type Props = {
slug: string; slug: string;
date: Date | string; date: Date | string;
title: string; title: string;
type: "blog" | "portfolio" | "es/videos"; type: "blog" | "portfolio" | "videos";
lang: string; lang: string;
}; };

View File

@ -30,7 +30,7 @@ const lang = getLangFromUrl(Astro.url);
<li> <li>
<PostItem <PostItem
lang={lang} lang={lang}
type="es/videos" type="videos"
slug={video.slug} slug={video.slug}
date={video.data.date!} date={video.data.date!}
title={video.data.title!} title={video.data.title!}