From 2e098f75857bf3e52029fae51bfd2f975efee539 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Tue, 7 Jul 2026 15:33:28 -0600 Subject: [PATCH] Update identifier. --- src/pages/notes/[id].astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/notes/[id].astro b/src/pages/notes/[id].astro index a5bdf62..542abfd 100644 --- a/src/pages/notes/[id].astro +++ b/src/pages/notes/[id].astro @@ -13,7 +13,7 @@ interface Props { export async function getStaticPaths() { const notes = await getCollection('notes'); return notes.map((note: CollectionEntry<'notes'>) => ({ - params: { id: note.id }, + params: { id: note.id.replace(/-/, '/') }, props: { note }, })); }