docs: Add ‹› navigation buttons (#29461)

While visually unintrusive, these navigation links enable proper
navigation in readers and extensions like Vimium that rely on
rel=next/prev

Release Notes:

- N/A
This commit is contained in:
Oleksiy Syvokon
2025-04-26 06:52:02 +00:00
committed by GitHub
parent d832b8e687
commit ee74edbbb1
2 changed files with 47 additions and 0 deletions
+17
View File
@@ -200,6 +200,23 @@
</div>
{{{ content }}}
</main>
<!-- Navigation arrows -->
<div class="nav-wrapper">
<div class="nav-buttons">
{{#previous}}
<a rel="prev" href="{{link}}" class="nav-button" title="{{title}}" aria-label="Previous chapter">
<i class="fa fa-angle-left"></i>
</a>
{{/previous}}
{{#next}}
<a rel="next" href="{{link}}" class="nav-button" title="{{title}}" aria-label="Next chapter">
<i class="fa fa-angle-right"></i>
</a>
{{/next}}
</div>
</div>
</div>
</div>
</div>