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 %}
|
||||
<span class="webjeda">{{ page }}</span>
|
||||
{% elsif page == 1 %}
|
||||
<a href="/">{{ page }}</a>
|
||||
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
|
||||
{% else %}
|
||||
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue