[pbs-devel] [PATCH proxmox-backup 3/3] docs: make logo path and index link absolute

Stefan Sterz s.sterz at proxmox.com
Wed Apr 5 10:12:09 CEST 2023


the relative path failed as some pages are more deeply nested, such as
the man page for `proxmox-tape`. this meant that on these pages the
logo wouldn't be displayed correctly and the link lead to a non-
existent file.

Signed-off-by: Stefan Sterz <s.sterz at proxmox.com>
---
 docs/_templates/sidebar-header.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/_templates/sidebar-header.html b/docs/_templates/sidebar-header.html
index 61a381d0..75518b99 100644
--- a/docs/_templates/sidebar-header.html
+++ b/docs/_templates/sidebar-header.html
@@ -1,7 +1,7 @@
  <p class="logo">
-    <a href="index.html">
-        <img class="logo" src="_static/proxmox-logo.svg" alt="Logo">
+    <a href="/docs/index.html">
+        <img class="logo" src="/docs/_static/proxmox-logo.svg" alt="Logo">
     </a>
 </p>
-<h1 class="logo logo-name"><a href="index.html">Proxmox Backup</a></h1>
+<h1 class="logo logo-name"><a href="/docs/index.html">Proxmox Backup</a></h1>
 <hr style="width:100%;">
-- 
2.30.2






More information about the pbs-devel mailing list