--- import Layout from './Layout.astro'; import type { MarkdownLayoutProps } from 'astro'; import { type Lang, type FrontmatterProps } from '@/types'; import { defaultLang } from '@/i18n/ui'; import GlassHeader from '@/components/GlassHeader'; import Footer from '@/components/Footer'; import Container from "../components/ui/Container.astro"; // Use Astro's MarkdownLayoutProps for proper type safety export type Props = MarkdownLayoutProps; // Access frontmatter data correctly for markdown layouts const { frontmatter } = Astro.props; const { title, description } = frontmatter; const lang = Astro.currentLocale as Lang || defaultLang; ---

✨ {title}

{description && (

📝 {description}

)}