_layouts/home.html in jekyll-theme-mehdix-rtl-0.1.21 vs _layouts/home.html in jekyll-theme-mehdix-rtl-0.2.0

- old
+ new

@@ -22,17 +22,20 @@ </li> {% endfor %} {% endif %} </ul> - <div class="pagination"> - <p> - {% if paginator.next_page %} - <a href="{{ paginator.next_page_path | absolute_url }}" class="next" style="float: left"> بعدی >> </a> - {% endif %} + <nav class="pagination"> + {% if paginator.previous_page %} + <a href="{{ paginator.previous_page_path | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">قبلی </a> + {% else %} + <a href="#" class="pagination--pager disabled"">قبلی </a> + {% endif %} - {% if paginator.previous_page %} - <a href="{{ paginator.previous_page_path | absolute_url }}" class="previous" style="margin-right:0px;">&#60&#60 قبلی</a> - {% endif %} - </p> - </div> + {% if paginator.next_page %} + <a href="{{ paginator.next_page_path | absolute_url }}" class="pagination--pager" title="{{ page.next.title }}">بعدی</a> + {% else %} + <a href="#" class="pagination--pager disabled"">بعدی</a> + {% endif %} + </nav> + </div> \ No newline at end of file