Added separator in pagination
This commit is contained in:
parent
9972d927b9
commit
eee918dae8
1 changed files with 7 additions and 3 deletions
|
|
@ -4,17 +4,21 @@
|
|||
<div class="pagination">
|
||||
|
||||
<h4>
|
||||
|
||||
|
||||
{% if paginator.previous_page %}
|
||||
<a href="{{site.baseurl}}{{ paginator.previous_page_path }}" class="previous">Newer Posts</a>
|
||||
{% endif %}
|
||||
|
||||
{% if paginator.previous_page and paginator.next_page %}
|
||||
|
|
||||
{% endif %}
|
||||
|
||||
{% if paginator.next_page %}
|
||||
<a href="{{site.baseurl}}{{ paginator.next_page_path }}" class="next">Older Posts</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
</h4>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Pagination Links End -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue