Fix first page link in pagination
This commit is contained in:
parent
eb23323bd6
commit
4c19f68355
|
@ -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