MarseyWorld/files/templates/search_comments.html

37 lines
873 B
HTML
Raw Normal View History

2021-07-21 01:12:26 +00:00
{% extends "search.html" %}
{% block listing_template %}
<div class="posts p-3 p-md-0">
{% with comments=comments %}
{% include "comments.html" %}
{% endwith %}
</div>
{% endblock %}
{% block listinglength %}
{{comments | length}}
{% endblock %}
{% block pagenav %}
{% if comments %}
<nav aria-label="Page navigation">
<ul class="pagination pagination-sm mb-0">
<li class="page-item{% if page==1 %} disabled{% endif %}">
2021-09-12 00:24:46 +00:00
<small><a class="page-link" href="?q={{query | urlencode}}&sort={{sort}}&page={{page-1}}" tabindex="-1"{% if page==1 %} aria-disabled="true"{% endif %}>Back</a></small>
2021-07-21 01:12:26 +00:00
</li>
<li class="page-item{% if not next_exists %} disabled{% endif %}">
2021-09-12 00:24:46 +00:00
<small><a class="page-link" href="?q={{query | urlencode}}&sort={{sort}}&page={{page+1}}">Next</a></small>
2021-07-21 01:12:26 +00:00
</li>
</ul>
</nav>
{% endif %}
2021-09-24 00:13:45 +00:00
<pre>
</pre>
2021-07-21 01:12:26 +00:00
{% endblock %}