Skip to content

Commit

Permalink
Use ordered list for pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
pepelsbey committed Nov 13, 2024
1 parent 947b235 commit 62aab13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/includes/pagination.njk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</svg>
</a>
{% endif %}
<ul class="pagination__list">
<ol class="pagination__list">
{% for pageEntry in pagination.pages %}
{% set href = pagination.hrefs[loop.index0] %}
{% set current = 'aria-current="page"' if page.url == href else '' %}
Expand All @@ -27,7 +27,7 @@
</a>
</li>
{% endfor %}
</ul>
</ol>
{% if pagination.href.next %}
<a
class="pagination__link"
Expand Down

0 comments on commit 62aab13

Please sign in to comment.