fix: show next page link only when next_page is set
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
92ab34967d
commit
d6a80fa1fe
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="{{payload.next_page}}">Next ></a>
|
||||
{% if payload.next_page %}
|
||||
<a href="{{payload.next_page}}">Next ></a>
|
||||
{% endif %}
|
||||
</main>
|
||||
</body>
|
||||
{% endblock body %}
|
||||
|
|
Loading…
Reference in a new issue