Closed tonyfast closed 10 years ago
This is what I think should be added to pagination part to solve the issue with page1
<div class="pagination">
{% if paginator.previous_page %}
{% if paginator.pervious_page == 1 %}
<a href ="{{site.baseurl}}" class="previous"><span class="mega-octicon octicon-chevron-left"></span></a>
{% else %}
<a href="{{site.baseurl}}/page{{ paginator.previous_page }}" class="previous"><span class="mega-octicon octicon-chevron-left"></span></a>
Resolved by Fixing Edge Case in Jekyll Pagination
I added Pagination to the site.
There is a case to deal with for
/page1
in pagination of Jekyll. The lines inindex.html
need to be changed according to Rendering Paginated Posts