2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-23 05:43:41 +01:00
brutaldon-interfaccia-web-m.../brutaldon/templates/main/public_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
436 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 'fed_prev' prev.since_id %}">Newer</a>
{% endif %}
{% if next %}
<a class="pagination-previous" href="{% url 'fed_next' next.max_id %}">Older</a>
{% endif %}
</nav>
{% endblock %}