Petite modif : on a toujours au moins un commentaire par thread
This commit is contained in:
parent
04e317285f
commit
d447372bf3
|
@ -5,14 +5,10 @@
|
|||
{% endif %}
|
||||
|
||||
{% for page in objects.iter_pages(1, 5, 6, 1) %}
|
||||
{% if page %}
|
||||
{% if page != objects.page %}
|
||||
<a href="{{ _url_for(route, route_args, page=page) }}">{{ page }}</a>
|
||||
{% else %}
|
||||
<strong>{{ page }}</strong>
|
||||
{% endif %}
|
||||
{% if page != objects.page %}
|
||||
<a href="{{ _url_for(route, route_args, page=page) }}">{{ page }}</a>
|
||||
{% else %}
|
||||
<span class=ellipsis>…</span>
|
||||
<strong>{{ page }}</strong>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue