Merge pull request #3763 from tasken/patch-1

Merge pull request 3763
This commit is contained in:
Parker Moore 2015-06-09 08:10:45 -07:00
commit 649399dcf8
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ page with links to all but the current page.
{% if page == paginator.page %}
<em>{{ page }}</em>
{% elsif page == 1 %}
<a href="{{ '/index.html' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
<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>
{% endif %}