mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
|
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
|
||
|
{% extends 'themes/' + theme() + '/base.html' %}
|
||
|
{% else %}
|
||
|
{% extends "base.html" %}
|
||
|
{% endif %}
|
||
|
{% set active_child = 'bookmarks' %}
|
||
|
|
||
|
{% block app_content %}
|
||
|
<div class="row">
|
||
|
<div class="col-12 col-md-8 position-relative main_pane">
|
||
|
<div class="post_list">
|
||
|
{% for post in posts.items -%}
|
||
|
{% include 'post/_post_teaser.html' %}
|
||
|
{% else -%}
|
||
|
<p>{{ _('No posts have been bookmarked.') }}</p>
|
||
|
{% endfor -%}
|
||
|
</div>
|
||
|
|
||
|
<nav aria-label="Pagination" class="mt-4" role="navigation">
|
||
|
{% if prev_url %}
|
||
|
<a href="{{ prev_url }}" class="btn btn-primary" rel="nofollow">
|
||
|
<span aria-hidden="true">←</span> {{ _('Previous page') }}
|
||
|
</a>
|
||
|
{% endif %}
|
||
|
{% if next_url %}
|
||
|
<a href="{{ next_url }}" class="btn btn-primary" rel="nofollow">
|
||
|
{{ _('Next page') }} <span aria-hidden="true">→</span>
|
||
|
</a>
|
||
|
{% endif %}
|
||
|
</nav>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|