parent
4f8e1f3d3f
commit
7440050367
|
@ -145,9 +145,7 @@ page with links to all but the current page.
|
||||||
{% if paginator.total_pages > 1 %}
|
{% if paginator.total_pages > 1 %}
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
{% if paginator.previous_page %}
|
{% if paginator.previous_page %}
|
||||||
<a href="{{ paginator.previous_page_path | relative_url }}">
|
<a href="{{ paginator.previous_page_path | relative_url }}">« Prev</a>
|
||||||
« Prev
|
|
||||||
</a>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>« Prev</span>
|
<span>« Prev</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -156,20 +154,14 @@ page with links to all but the current page.
|
||||||
{% if page == paginator.page %}
|
{% if page == paginator.page %}
|
||||||
<em>{{ page }}</em>
|
<em>{{ page }}</em>
|
||||||
{% elsif page == 1 %}
|
{% elsif page == 1 %}
|
||||||
<a href="{{ paginator.previous_page_path | relative_url }}">
|
<a href="{{ paginator.previous_page_path | relative_url }}">{{ page }}</a>
|
||||||
{{ page }}
|
|
||||||
</a>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">
|
<a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">{{ page }}</a>
|
||||||
{{ page }}
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if paginator.next_page %}
|
{% if paginator.next_page %}
|
||||||
<a href="{{ paginator.next_page_path | relative_url }}">
|
<a href="{{ paginator.next_page_path | relative_url }}">Next »</a>
|
||||||
Next »
|
|
||||||
</a>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>Next »</span>
|
<span>Next »</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue