fix doc front page header image
[arvados.git] / doc / _layouts / default.html
index 2c90e428c97ac7e54bbd505eba10f75a903cea79..ee0f6bb2e438d2674170dfa515b0ae608d478fff 100644 (file)
@@ -2,7 +2,7 @@
 <html>
   <head>
     <meta charset="utf-8">
-    <title>{{ page.title }}</title>
+    <title>{{ page.title }}{% unless page.title == "Arvados Docs" %} | Arvados Docs{% endunless %}</title>
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <meta name="description" content="">
     <meta name="author" content="">
@@ -11,7 +11,7 @@
     <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap.min.css" rel="stylesheet">
     <style>
       body {
-      padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
+      padding-top: 41px; /* 60px to make the container go all the way to the bottom of the topbar */
       }
       .sidebar-nav {
         padding: 9px 0;
               <li {% if page.navsection == 'api' %} class="active" {% endif %}><a href="{{ site.baseurl }}/api/">API&nbsp;Reference</a></li>
               <li {% if page.navsection == 'adminguide' %} class="active" {% endif %}><a href="{{ site.baseurl }}/admin/">Admin Guide</a></li>
               <li {% if page.navsection == 'installguide' %} class="active" {% endif %}><a href="{{ site.baseurl }}/install/">Install Guide</a></li>
+              <li><a></a></li>
+              <li><a href="https://arvados.org/">arvados.org&nbsp;&raquo;</a></li>
             </ul>
           </div><!--/.nav-collapse -->
         </div>
       </div>
     </div>
 
-    <div class="container-fluid">
+    {% if page.navsection == 'top' %}
+    {{ content }}
+    {% else %}
+
+    <div style="height:19px;"></div>
 
-      {% if page.navsection == 'top' %}
-      {{ content }}
-      {% else %}
+    <div class="container-fluid">
       <div class="row-fluid">
         <div class="span3">
-          <div class="span3 affix">
+          <div class="affix-top">
             <div class="well sidebar-nav">
               <ul class="nav nav-list">
                 {% for navorder in (0..100) %}{% for p in site.pages %}{% if p.navsection == page.navsection and p.navorder == navorder %}
           {{ content }}
         </div></div>
       </div>
-      {% endif %}
 
       <div style="height: 2em"></div>
 
     </div>
+    {% endif %}
     <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
     <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
   </body>