Something went wrong. Try again.
An unofficial terminal client for Tangled, optimized for humans and agents. forked from aly.codes/tg
Something went wrong. Try again.
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} />; })}