An unofficial terminal client for Tangled, optimized for humans and agents. tgcli.wisp.place
cli atproto go tangled
Something went wrong. Try again.
456 B · 17 lines
Astro
at next-dev
123456789101112131415161718---import config from 'virtual:starlight/user-config';const { head } = Astro.locals.starlightRoute;const siteTitle = config.title;---
{ head.map(({ tag: Tag, attrs, content }) => { if (Tag === 'title' && typeof content === 'string') { const pageMatch = content.match(/^(.+?) \| (.+)$/); if (pageMatch && pageMatch[1] === pageMatch[2]) { return <title>{pageMatch[1]}</title>; } } return <Tag {...attrs} set:html={content} />; })}