From 72c17544ad6c5dc96d7d75e6e3822df909aea80f Mon Sep 17 00:00:00 2001 From: Quentin Deroubaix Date: Wed, 17 Jan 2024 15:46:18 +0100 Subject: [PATCH] fix: description for slug doc --- demo/src/routes/docs/[framework]/[...slug]/+page.server.ts | 1 + demo/src/routes/docs/[framework]/[...slug]/+page.svelte | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/demo/src/routes/docs/[framework]/[...slug]/+page.server.ts b/demo/src/routes/docs/[framework]/[...slug]/+page.server.ts index e4411d4a90..0c2109d2aa 100644 --- a/demo/src/routes/docs/[framework]/[...slug]/+page.server.ts +++ b/demo/src/routes/docs/[framework]/[...slug]/+page.server.ts @@ -7,6 +7,7 @@ export const load = async ({params}) => { else { return { source, + slug: params.slug, }; } }; diff --git a/demo/src/routes/docs/[framework]/[...slug]/+page.svelte b/demo/src/routes/docs/[framework]/[...slug]/+page.svelte index 92584a0d42..75007b746c 100644 --- a/demo/src/routes/docs/[framework]/[...slug]/+page.svelte +++ b/demo/src/routes/docs/[framework]/[...slug]/+page.svelte @@ -1,10 +1,11 @@ - +