2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-25 15:00:49 +01:00
brutaldon-interfaccia-web-m.../brutaldon/templates/main/local_timeline.html
Jason McBrayer dd88bcea29 Home, local, and public timelines have simple pagination.
Notification and tag timelines should also have pagination, but they have
to be done separately.
2018-05-18 09:22:27 -04:00

13 lines
440 B
HTML

{% extends "main/timeline.html" %}
{% block pagination %}
<nav class="pagination is-centered" role="navigation" aria-label="pagination">
{% if prev %}
<a class="pagination-next" href="{% url 'local_prev' prev.since_id %}">Newer</a>
{% endif %}
{% if next %}
<a class="pagination-previous" href="{% url 'local_next' next.max_id %}">Older</a>
{% endif %}
</nav>
{% endblock %}