Merge pull request #4140 from krockgardin/patch-1
This commit is contained in:
commit
f783cc33d6
|
@ -203,7 +203,7 @@ page with links to all but the current page.
|
|||
{% for page in (1..paginator.total_pages) %}
|
||||
{% if page == paginator.page %}
|
||||
<em>{{ page }}</em>
|
||||
{% elif page == 1 %}
|
||||
{% elsif page == 1 %}
|
||||
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
|
||||
{% else %}
|
||||
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
||||
|
|
Loading…
Reference in New Issue