Skip to content

Commit

Permalink
fix navigator (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantom1003 authored Sep 30, 2023
1 parent 159a05a commit bd28e57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx_nefertiti/pager.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ul class="pagination justify-content-between mb-0">
{%- if prev -%}
<li class="page-item">
<a href="{{ prev.link|e }}" class="d-flex px-5 align-items-end" rel="prev" aria-label="{{_('Previous page:')}} {{ prev.title }}">
<a href="{{ prev.link|e }}" class="d-flex px-5 align-items-end" rel="prev" aria-label="{{_('Previous page:')}} {{ prev.title|striptags|e }}">
<span class="prev-page"><i class="bi bi-caret-left"></i></span>
<div class="d-flex flex-column">
<span class="text-small text-start text-muted">{{ _('Previous') }}</span>
Expand All @@ -15,7 +15,7 @@
{% endif %}
{%- if next -%}
<li class="page-item ms-auto">
<a href="{{ next.link|e }}" class="d-flex px-5 align-items-end" rel="next" aria-label="{{_('Next page:')}} {{ next.title }}">
<a href="{{ next.link|e }}" class="d-flex px-5 align-items-end" rel="next" aria-label="{{_('Next page:')}} {{ next.title|striptags|e }}">
<div class="d-flex flex-column">
<span class="text-small text-end text-start text-muted">{{ _('Next') }}</span>
<span class="underline">{{ next.title }}</span>
Expand Down

0 comments on commit bd28e57

Please sign in to comment.