microblog.pub/app/templates/index.html

19 lines
453 B
HTML
Raw Normal View History

2022-06-22 13:11:22 -05:00
{%- import "utils.html" as utils with context -%}
{% extends "layout.html" %}
{% block content %}
{% include "header.html" %}
{% for outbox_object in objects %}
{{ utils.display_object(outbox_object) }}
{% endfor %}
{% if has_previous_page %}
<a href="{{ url_for("index") }}?page={{ current_page - 1 }}">Previous</a>
{% endif %}
2022-06-22 13:11:22 -05:00
{% if has_next_page %}
<a href="{{ url_for("index") }}?page={{ current_page + 1 }}">Next</a>
{% endif %}
2022-06-22 13:11:22 -05:00
{% endblock %}