Use first_page_path from Paginate V2 if available (#2431)
1 files changed, 1 insertions(+), 1 deletions(-) M _includes/paginator.html
M _includes/paginator.html => _includes/paginator.html +1 -1
@@ 1,6 1,6 @@ {% if paginator.total_pages > 1 %} <nav class="pagination"> {% 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 %} <ul> {% comment %} Link for previous page {% endcomment %} {% if paginator.previous_page %}