From fb79f499b1f3d0eb03b5a146fc1964d0a3ec3b21 Mon Sep 17 00:00:00 2001 From: gioboa Date: Tue, 24 Dec 2024 23:39:07 +0100 Subject: [PATCH] chore(docs): change metadata --- docs/src/components/RouterHead/RouterHead.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/src/components/RouterHead/RouterHead.tsx b/docs/src/components/RouterHead/RouterHead.tsx index d914b6ca..929c6113 100644 --- a/docs/src/components/RouterHead/RouterHead.tsx +++ b/docs/src/components/RouterHead/RouterHead.tsx @@ -9,12 +9,15 @@ export const RouterHead = component$(() => { const loc = useLocation(); const imageSrc = "https://partytown.qwik.dev/partytown-media.png"; + const description = + head.meta.find((m) => m.name === "description")?.content || + `Partytown is a lazy-loaded library to help relocate resource intensive scripts into a web worker`; return ( <> {head.title} - - + + @@ -29,7 +32,7 @@ export const RouterHead = component$(() => { @@ -38,7 +41,7 @@ export const RouterHead = component$(() => {