--- import { localeHref } from '../../i18n/paths'; import Base from '../../layouts/Base.astro'; import type { Lang } from '../../i18n/ui'; import { getScope, socialUrl } from '../../config/scopes'; import { PRIVACY } from '../../i18n/legal-content'; const { lang } = Astro.props as { lang: Lang }; const c = PRIVACY[lang] ?? PRIVACY.en; const home = localeHref(lang, '/'); // "Reach us" points at this build's own community account, not .nl's on every domain. The content // carries a __REACH__ token so the per-locale strings stay scope-agnostic; swap it in at render. const reachUrl = socialUrl(getScope(import.meta.env.PUBLIC_SITE_SCOPE)); ---

{c.back}

{c.title}

{c.updated}

{c.sections.map((s) => { const html = s.html.replaceAll('__REACH__', reachUrl); return ( <>

{s.h}

{html.trimStart().startsWith(' :

} ); })}