Skip to content

Commit

Permalink
pager bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
brklntmhwk committed Apr 4, 2024
1 parent 31e8d36 commit 157bbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Pager.astro
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const paginator = (
<li>
{page.currentPage === 1 ? (
<a
href={`/${currentPath.split('/').slice(1, -1)}/${pg}/`}
href={`/${currentPath.split('/').slice(1, -1).join('/')}/${pg}/`}
>
{pg}
</a>
Expand Down

0 comments on commit 157bbdf

Please sign in to comment.