Fix NextPrev links

This commit is contained in:
2023-09-26 22:47:23 +01:00
parent bb5d53ec9f
commit cc29d23bc2

View File

@@ -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}>
&lt; Prev &lt; 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 &gt; Next &gt;
</a> </a>
) )