Merge pull request #11 from felixfriedrich/hr-fix
only show <hr> if pagination is enabled
This commit is contained in:
commit
96c5ff0355
@ -41,10 +41,8 @@
|
|||||||
{% include 'comments.html' %}
|
{% include 'comments.html' %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% include "pagination.html" %}
|
{% include "pagination.html" %}
|
||||||
<hr>
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{% if DEFAULT_PAGINATION %}
|
{% if DEFAULT_PAGINATION %}
|
||||||
|
<hr>
|
||||||
<!-- Pager -->
|
<!-- Pager -->
|
||||||
<ul class="pager">
|
<ul class="pager">
|
||||||
<li class="next">
|
<li class="next">
|
||||||
@ -11,4 +12,5 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
|
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
|
||||||
|
<hr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user