--- import '../styles/global.css'; import logo from '../assets/logo-msp.svg'; import { getMenu, getReglages } from '../lib/site'; interface Props { titre?: string; description?: string; } const { titre, description } = Astro.props; const site = await getReglages(); const menu = await getMenu(); const chemin = Astro.url.pathname; const actif = (href: string) => (href === '/' ? chemin === '/' : chemin.startsWith(href)); const titreComplet = titre ? `${titre} · ${site.nom_court}` : site.nom; ---