Skip to content

Commit

Permalink
Fix the pagination duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Radomir98 committed Jul 30, 2024
1 parent 31e2a7e commit 5e38be3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@
{% endif %}

{% if totalPages > 1 %}
<nav aria-label="pagination" class="pagination-nav">
<nav aria-label="pagination" class="pagination-nav nosto-ns-nav">
{% block component_pagination %}
{{ parent() }}
{% endblock %}
</nav>
<style>
.nosto-ns-nav { display: none }
.nosto-ns-nav:first-of-type { display: block }
</style>
{% endif %}
{% endblock %}

0 comments on commit 5e38be3

Please sign in to comment.