Merge pull request #4140 from krockgardin/patch-1

This commit is contained in:
Matt Rogers 2015-11-16 09:18:24 -06:00
commit f783cc33d6
1 changed files with 1 additions and 1 deletions

View File

@ -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>