--- import { getLocaleFromPathOrDefault } from '$lib/getLocaleFromPath'; const locale = getLocaleFromPathOrDefault(Astro.url.pathname); ---