Skip to content

Commit

Permalink
Исправляем URL первой страницы пагинатора
Browse files Browse the repository at this point in the history
  • Loading branch information
mkpankov committed Jul 1, 2018
1 parent 13fbb81 commit ebcdc00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% endif %}

{% if trail.num == 1 %}
{% capture href %}"{{ paginator.first_page_path | prepend: site.baseurl }}"{% endcapture %}
{% capture href %}"{{ include.page_path | prepend: '/' | prepend: site.baseurl }}"{% endcapture %}
{% else %}
{% capture href %}"{{ site.baseurl }}/{{ include.page_path }}page{{ trail.num }}/"{% endcapture %}
{% endif %}
Expand Down

0 comments on commit ebcdc00

Please sign in to comment.