diff --git a/src/components/Breadcrumbs.astro b/src/components/Breadcrumbs.astro index 520939b..c5e165a 100644 --- a/src/components/Breadcrumbs.astro +++ b/src/components/Breadcrumbs.astro @@ -19,17 +19,20 @@ breadcrumbList[0] === "posts" && { - breadcrumbList.map((breadcrumb, index) => ( -
  • - {index + 1 === breadcrumbList.length ? ( + breadcrumbList.map((breadcrumb, index) => + index + 1 === breadcrumbList.length ? ( +
  • 0 ? "lowercase" : ""}`} aria-current="page"> {breadcrumb} - ) : ( +
  • + ) : ( +
  • {breadcrumb} - )} -
  • - )) + + + ) + ) }