aboutsummaryrefslogtreecommitdiff
path: root/website/src/components/Head.astro
blob: b1214cb19bd697caaa3247d4d2c862b28f0321ff (plain)
1
2
3
4
5
6
7
8
9
---
import { docsChannel } from '../docs-path';

const { head } = Astro.locals.starlightRoute;
const channel = docsChannel(Astro.url.pathname);
---

{head.map(({ tag: Tag, attrs, content }) => <Tag {...attrs} set:html={content} />)}
<meta data-pagefind-filter="channel[content]" content={channel} />