--- import { docsVersion } from '../docs-path'; const { head } = Astro.locals.starlightRoute; const version = docsVersion(Astro.url.pathname); --- {head.map(({ tag: Tag, attrs, content }) => )} {version !== 'stable' && }