Skip to content

Commit

Permalink
fix: remove duplicate h1
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneGoosen committed Sep 11, 2024
1 parent f8d6a75 commit 665ba99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TableOfContents.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function buildToc(headings: TableOfContent[]) {
---

<nav class='max-w-xs dark:text-black'>
<h1 class='font-bold mb-3 text-2xl dark:text-white'>Index</h1>
<div class='font-bold mb-3 text-2xl dark:text-white'>Index</div>
<ul class='[text-wrap:balance] flex flex-col gap-1'>
{toc.map((heading) => <TableOfContentsHeading heading={heading} />)}
</ul>
Expand Down

0 comments on commit 665ba99

Please sign in to comment.