fix: show next page link only when next_page is set
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Aravinth Manivannan 2023-02-02 00:31:19 +05:30
parent 92ab34967d
commit d6a80fa1fe
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -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 %}