Merge pull request #11 from buresmi7/master
Fix first page link in pagination
This commit is contained in:
commit
9e98388c36
@ -33,7 +33,7 @@ layout: default
|
|||||||
{% if page == paginator.page %}
|
{% if page == paginator.page %}
|
||||||
<span class="webjeda">{{ page }}</span>
|
<span class="webjeda">{{ page }}</span>
|
||||||
{% elsif page == 1 %}
|
{% elsif page == 1 %}
|
||||||
<a href="/">{{ page }}</a>
|
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user