Skip to content

Commit

Permalink
Automatically capitalise groups in table of content
Browse files Browse the repository at this point in the history
  • Loading branch information
DamitusThyYeetus123 committed Jan 2, 2025
1 parent b944dbf commit d262c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ToC.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ console.log(table);
parents
.filter((entry) => entry !== null)
.map((entry, i) => (
<div class=""><button class="subdirbtn text-lg font-bold" id={"subdirbtn" + i}>{entry}</button></div>
<div class=""><button class="subdirbtn text-lg font-bold capitalize" id={"subdirbtn" + i}>{entry}</button></div>
<ul id={"subdir" + i} class="subdir">
{table
.filter(
Expand Down

0 comments on commit d262c61

Please sign in to comment.