From 34bfcbff38ad983d48e53c67065dbfb5c933cbc7 Mon Sep 17 00:00:00 2001 From: z0x <homelab@home.arpa> Date: Tue, 4 Feb 2025 23:48:22 -0500 Subject: [PATCH] fix(index): add label to home breadcrumb --- src/pages/[...id].astro | 2 +- src/pages/[...page].astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/[...id].astro b/src/pages/[...id].astro index f425cae..77556b2 100644 --- a/src/pages/[...id].astro +++ b/src/pages/[...id].astro @@ -59,7 +59,7 @@ const { Content, headings } = await render(post); > <Breadcrumbs items={[ - { href: "/", label: "", icon: "lucide:archive" }, + { href: "/", label: "Home", icon: "lucide:house" }, { label: post.data.title, icon: "lucide:file-text" }, ]} class="col-start-2" diff --git a/src/pages/[...page].astro b/src/pages/[...page].astro index a9887c5..d337b78 100644 --- a/src/pages/[...page].astro +++ b/src/pages/[...page].astro @@ -40,7 +40,7 @@ const years = Object.keys(postsByYear).sort( <Container class="flex grow flex-col gap-y-6"> <Breadcrumbs items={[ - { label: "", href: "/", icon: "lucide:archive" }, + { label: "Home", href: "/", icon: "lucide:house" }, { label: `Page ${page.currentPage}`, icon: "lucide:folder-open" }, ]} />