Skip to content

Commit

Permalink
fix: remove extra spaces in breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
satnaing committed Dec 21, 2023
1 parent 9f6f10b commit a19f044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Breadcrumbs.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ breadcrumbList[0] === "posts" &&
<ul>
<li>
<a href="/">Home</a>
<span aria-hidden="true">&nbsp;&gt;&nbsp;</span>
<span aria-hidden="true">&gt;</span>
</li>
{
breadcrumbList.map((breadcrumb, index) =>
Expand All @@ -33,7 +33,7 @@ breadcrumbList[0] === "posts" &&
) : (
<li>
<a href={`/${breadcrumb}`}>{breadcrumb}</a>
<span aria-hidden="true">&nbsp;&gt;&nbsp;</span>
<span aria-hidden="true">&gt;</span>
</li>
)
)
Expand Down

0 comments on commit a19f044

Please sign in to comment.