Permalink
Browse files

Add a top menu to navigate between documentation versions

  • Loading branch information...
1 parent f57b2b3 commit b10ea4615206baf1288ed7adb68ab0357aeddbdc @cbonte committed May 26, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 templates/template.html
View
@@ -8,6 +8,12 @@
</head>
<body>
<div class="container">
+ <ul class="nav nav-tabs">
+ <li><a href="http://haproxy.1wt.eu/"><b>HAProxy home page</b></a></li>
+ <li class="${"active" if headers['version'].startswith("version 1.4") and headers['subtitle'] == 'Configuration Manual' else ""}"><a href="configuration-1.4.html">Configuration Manual for HAProxy 1.4</a></li>
+ <li class="${"active" if headers['version'].startswith("version 1.5") and headers['subtitle'] == 'Configuration Manual' else ""}"><a href="configuration-1.5.html">Configuration Manual for HAProxy 1.5</a></li>
+ </ul>
+
<div class="page-header">
<div class="container-fluid">
<div class="row-fluid">

0 comments on commit b10ea46

Please sign in to comment.