a new start
This commit is contained in:
15
_includes/components/pagination.html
Normal file
15
_includes/components/pagination.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<h2 class="sr-only">{{ site.data.strings.pagination | default:"Pagination" }}</h2>
|
||||
<nav class="pagination heading clearfix" role="navigation">
|
||||
<ul>
|
||||
<li class="pagination-item older" >
|
||||
{% assign next_title = site.data.strings.older | default:"Older" %}
|
||||
{% assign next_href = paginator.next_page_path | relative_url %}
|
||||
{% include components/link.html rel="next" title=next_title href=next_href %}
|
||||
</li>
|
||||
<li class="pagination-item newer" >
|
||||
{% assign prev_title = site.data.strings.newer | default:"Newer" %}
|
||||
{% assign prev_href = paginator.previous_page_path | relative_url %}
|
||||
{% include components/link.html rel="prev" title=prev_title href=prev_href %}
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user