fix(index): add label to home breadcrumb
This commit is contained in:
parent
2166f73bd8
commit
34bfcbff38
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ const { Content, headings } = await render(post);
|
||||||
>
|
>
|
||||||
<Breadcrumbs
|
<Breadcrumbs
|
||||||
items={[
|
items={[
|
||||||
{ href: "/", label: "", icon: "lucide:archive" },
|
{ href: "/", label: "Home", icon: "lucide:house" },
|
||||||
{ label: post.data.title, icon: "lucide:file-text" },
|
{ label: post.data.title, icon: "lucide:file-text" },
|
||||||
]}
|
]}
|
||||||
class="col-start-2"
|
class="col-start-2"
|
||||||
|
|
|
@ -40,7 +40,7 @@ const years = Object.keys(postsByYear).sort(
|
||||||
<Container class="flex grow flex-col gap-y-6">
|
<Container class="flex grow flex-col gap-y-6">
|
||||||
<Breadcrumbs
|
<Breadcrumbs
|
||||||
items={[
|
items={[
|
||||||
{ label: "", href: "/", icon: "lucide:archive" },
|
{ label: "Home", href: "/", icon: "lucide:house" },
|
||||||
{ label: `Page ${page.currentPage}`, icon: "lucide:folder-open" },
|
{ label: `Page ${page.currentPage}`, icon: "lucide:folder-open" },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue