Fix NextPrev links
This commit is contained in:
@@ -11,7 +11,7 @@ const { prev, next } = Astro.props;
|
|||||||
<div class="col-5 d-flex justify-content-center">
|
<div class="col-5 d-flex justify-content-center">
|
||||||
{
|
{
|
||||||
prev && (
|
prev && (
|
||||||
<a class="btn btn-outline-dark" href={prev}>
|
<a class="btn btn-outline-dark" href={'/' + prev}>
|
||||||
< Prev
|
< Prev
|
||||||
</a>
|
</a>
|
||||||
)
|
)
|
||||||
@@ -21,7 +21,7 @@ const { prev, next } = Astro.props;
|
|||||||
<div class="col-5 d-flex justify-content-center">
|
<div class="col-5 d-flex justify-content-center">
|
||||||
{
|
{
|
||||||
next && (
|
next && (
|
||||||
<a class="btn btn-outline-dark" href={next}>
|
<a class="btn btn-outline-dark" href={'/' + next}>
|
||||||
Next >
|
Next >
|
||||||
</a>
|
</a>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user