docs: Fix relative navigation links (#29468)

Oleksiy Syvokon created

Release Notes:

- N/A

Change summary

docs/theme/index.hbs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

docs/theme/index.hbs 🔗

@@ -205,13 +205,13 @@
                     <div class="nav-wrapper">
                       <div class="nav-buttons">
                         {{#previous}}
-                          <a rel="prev" href="{{ path_to_root }}/{{link}}" class="nav-button" title="{{title}}" aria-label="Previous chapter">
+                          <a rel="prev" href="{{ path_to_root }}{{link}}" class="nav-button" title="{{title}}" aria-label="Previous chapter">
                             <i class="fa fa-angle-left"></i>
                           </a>
                         {{/previous}}
 
                         {{#next}}
-                          <a rel="next" href="{{ path_to_root }}/{{link}}" class="nav-button" title="{{title}}" aria-label="Next chapter">
+                          <a rel="next" href="{{ path_to_root }}{{link}}" class="nav-button" title="{{title}}" aria-label="Next chapter">
                             <i class="fa fa-angle-right"></i>
                           </a>
                         {{/next}}