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

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
1 changed files with 3 additions and 1 deletions

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