--- const { currentPost } = Astro.props; const posts = await Astro.glob('../pages/posts/*.mdx'); const relatedPosts = posts.filter(post => currentPost.relacionados?.includes(post.file.split('/').pop().replace('.mdx', '')) ).map(post => ({ title: post.frontmatter.titulo, excerpt: post.frontmatter.descripcion, url: post.url, imagen: post.frontmatter.imagen })); ---