Fix previous/next page buttons

This commit is contained in:
video-prize-ranch 2023-08-29 18:58:11 -04:00
parent 3d707c561e
commit 5438365e50
No known key found for this signature in database

View File

@ -38,11 +38,10 @@
{{/each}}
</div>
<div class="mt-4 font-bold">
{{#equal page "0" }}
{{else}}
<div class="flex mt-4 font-bold justify-between">
{{#noteq page "0" }}
<a href="{{channel.RelUrl}}?page={{prevPage}}">Previous page</a>
{{/equal}}
{{/noteq}}
<a href="{{channel.RelUrl}}?page={{nextPage}}">Next page</a>
</div>
</main>