diff --git a/_includes/paginator.html b/_includes/paginator.html index 592a2cfcf9a0..bffa0794678e 100644 --- a/_includes/paginator.html +++ b/_includes/paginator.html @@ -1,6 +1,6 @@ {% if paginator.total_pages > 1 %} - {% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %} + {% assign first_page_path = paginator.first_page_path | default: site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %} {% comment %} Link for previous page {% endcomment %} {% if paginator.previous_page %}