]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Use href_base in absolute links
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 14 Dec 2016 10:24:40 +0000 (11:24 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 4 Jan 2017 14:10:06 +0000 (15:10 +0100)
That way all links work even if you click them in a subdirectory.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
docs/page.xsl

index fcb51916ce25f69b0ef629d17437f6ae52ca4392..1d662c670686ac3d8584d6e54eb1b60bbf25fcf6 100644 (file)
           </div>
           <div id="jumplinks">
             <ul>
-              <li><a href="downloads.html">Download</a></li>
-              <li><a href="contribute.html">Contribute</a></li>
-              <li><a href="docs.html">Learn</a></li>
+              <li><a href="{$href_base}downloads.html">Download</a></li>
+              <li><a href="{$href_base}contribute.html">Contribute</a></li>
+              <li><a href="{$href_base}docs.html">Learn</a></li>
             </ul>
           </div>
           <div id="search">
           <div id="contact">
             <h3>Contact</h3>
             <ul>
-              <li><a href="contact.html#email">email</a></li>
-              <li><a href="contact.html#irc">irc</a></li>
+              <li><a href="{$href_base}contact.html#email">email</a></li>
+              <li><a href="{$href_base}contact.html#irc">irc</a></li>
             </ul>
           </div>
           <div id="community">
             </ul>
           </div>
           <div id="conduct">
-            Participants in the libvirt project agree to abide by <a href="governance.html#codeofconduct">the project code of conduct</a>
+            Participants in the libvirt project agree to abide by <a href="{$href_base}governance.html#codeofconduct">the project code of conduct</a>
           </div>
           <br class="clear"/>
         </div>