Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix navigator #7

Merged
merged 1 commit into from
Sep 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading