Skip to content

Commit

Permalink
pag
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerbeardman committed May 27, 2024
1 parent 9677740 commit 96ab136
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions _includes/pagination.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{% if paginator.next_page %}
<div class='o-grid__col o-grid__col--end o-grid__col--1-4-s u-text-right'>
<a class='c-pagination' href='{{ paginator.next_page_path | prepend: site.baseurl }}'>
<span class='c-pagination__text c-pagination__text--next'>Next</span>
<div class='c-pagination__icon c-pagination__icon--next' data-icon='ei-chevron-right'></div>
{% if paginator.previous_page %}
<div class='o-grid__col o-grid__col--1-4-s'>
<a class='c-pagination' href='{{ paginator.previous_page_path | prepend: site.baseurl }}'>
<div class='c-pagination__icon c-pagination__icon--prev' data-icon='ei-chevron-left'></div>
<span class='c-pagination__text c-pagination__text--prev'>Previous</span>
</a>
</div>
{% else %}
<div class='o-grid__col o-grid__col--1-4-s'>
&nbsp;
</div>
{% endif %}

<div class='o-grid__col o-grid__col--2-4-s'>
Expand Down Expand Up @@ -32,15 +36,11 @@
{{ paginator.total_pages }}</span></span></a>
</div>

{% if paginator.previous_page %}
<div class='o-grid__col o-grid__col--1-4-s'>
<a class='c-pagination' href='{{ paginator.previous_page_path | prepend: site.baseurl }}'>
<div class='c-pagination__icon c-pagination__icon--prev' data-icon='ei-chevron-left'></div>
<span class='c-pagination__text c-pagination__text--prev'>Previous</span>
{% if paginator.next_page %}
<div class='o-grid__col o-grid__col--end o-grid__col--1-4-s u-text-right'>
<a class='c-pagination' href='{{ paginator.next_page_path | prepend: site.baseurl }}'>
<span class='c-pagination__text c-pagination__text--next'>Next</span>
<div class='c-pagination__icon c-pagination__icon--next' data-icon='ei-chevron-right'></div>
</a>
</div>
{% else %}
<div class='o-grid__col o-grid__col--1-4-s'>
&nbsp;
</div>
{% endif %}

0 comments on commit 96ab136

Please sign in to comment.