Add paginator

This commit is contained in:
Andros Fenollosa
2021-11-12 22:16:42 +01:00
parent 7f65835db7
commit b8b101b466
4 changed files with 29 additions and 11 deletions

View File

@ -17,4 +17,13 @@
</article>
</a>
{% endfor %}
{# Pagination #}
<div class="loading" >
<form>
<input type="hidden" name="action" value="page">
<input type="hidden" name="value" value="talks">
<input type="hidden" name="page" value="{{ next_page }}">
<p hx-ws="send" hx-trigger="click,revealed">Show more</p>
</form>
</div>
</main>