From 4c43fd696424c4e82eb20900d5db9453624388ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=89=E9=87=8E=E6=95=AC=E5=A4=AA=E9=83=8E?= Date: Wed, 18 Sep 2024 19:53:39 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E3=81=A4=E3=81=91=E5=BF=98=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=9Fslug=E3=82=92=E4=BB=98=E4=B8=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/post/[...slug].astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/post/[...slug].astro b/src/pages/post/[...slug].astro index 9c7e817..2d657f3 100644 --- a/src/pages/post/[...slug].astro +++ b/src/pages/post/[...slug].astro @@ -8,9 +8,10 @@ export async function getStaticPaths() { })); } const { entry } = Astro.props; +const { slug } = Astro.params; const { Content } = await entry.render(); --- - +