{path}
--- import '../styles/global.css'; import Search from '../components/Search.astro'; import ThemeSwitcher from '../components/ThemeSwitcher.astro'; import BackToTop from "../components/BackToTop.astro"; import { siteConfig } from "../config"; interface Props { title: string; path?: string; } const defaultTitle = siteConfig.title const formattedPath = defaultTitle.toLowerCase().replace(/\s+/g, '-'); const { title, path = formattedPath } = Astro.props; // TODO: make the path dynamic ---