Make the links in the topmost sidebar.shtml rooted
authorRichard Levitte <levitte@openssl.org>
Thu, 22 Sep 2016 18:48:34 +0000 (20:48 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 22 Sep 2016 18:48:46 +0000 (20:48 +0200)
The reason is quite simple.  If a URL doesn't lead to a page,
err404.html is loaded and this sidebar along with it.

Now, consider the URL https://www.openssl.org/files/.
Clicking on "Downloads: source code" will get you to
https://www.openssl.org/files/source rather than
https://www.openssl.org/source...

sidebar.shtml

index 1b3d6b63a5976dad495ab602ffad008312ded0dd..37b715e0333f78c3c8c92cf5978ec674424281bb 100644 (file)
@@ -1,28 +1,28 @@
 <!-- sidebar.inc -->
 <aside class="sidebar">
   <section>
-    <h1><a href=".">Home</a></h1>
+    <h1><a href="/">Home</a></h1>
     <ul>
       <li>
-        <a href="source">Downloads: Source code</a>
+        <a href="/source">Downloads: Source code</a>
       </li>
       <li>
-        <a href="docs">Docs: FAQ, FIPS, manpages, ...</a>
+        <a href="/docs">Docs: FAQ, FIPS, manpages, ...</a>
       </li>
       <li>
-        <a href="news">News: Latest information</a>
+        <a href="/news">News: Latest information</a>
       </li>
       <li>
-        <a href="policies">Policies: How we operate</a>
+        <a href="/policies">Policies: How we operate</a>
       </li>
       <li>
-        <a href="community">Community: Blog, bugs, email, ...</a>
+        <a href="/community">Community: Blog, bugs, email, ...</a>
       </li>
       <li>
-        <a href="support">Support: Commercial support and contracting</a>
+        <a href="/support">Support: Commercial support and contracting</a>
       </li>
       <li>
-        <a href="support/acks.html">Sponsor Acknowledgements</a>
+        <a href="/support/acks.html">Sponsor Acknowledgements</a>
       </li>
     </ul>
   </section>