diff _includes/header.html @ 84:5caa2af27956 kai

Make more use of Jekyll Makros. Website tabs reconsidering.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 17 Oct 2016 18:36:54 +0200
parents ee20b2a64fe5
children
line wrap: on
line diff
--- a/_includes/header.html	Mon Oct 17 18:34:45 2016 +0200
+++ b/_includes/header.html	Mon Oct 17 18:36:54 2016 +0200
@@ -1,23 +1,24 @@
 <div id="logo">
-  <p>
-    <img src="{{ "/img/logo.png" | relative_url }}" alt="GNU Octave Logo">
-    <span>GNU Octave</span>
-  </p>
+  <img src="{{ "/img/octave-logo.svg" | relative_url }}" alt="GNU Octave Logo">
+  <span>GNU Octave</span>
 </div>
 
 
 <ul class="topnav" id="myTopnav">
-  <li><a href="{{ "/index.html" | relative_url }}">Home</a></li>
+  <li>
+    <a href="{{ "/index.html" | relative_url }}" {% if page.url == "/" %}class="active"{% endif %}>
+      Home
+    </a>
+  </li>
   {% for p in site.pages %}
     {% if p.menu %}
     <li>
-      <a href="{{ p.url | relative_url }}"
-        {% if page.url == p.url %} class="active"{% endif %}>
-      {{ p.title }}</a>
+      <a href="{{ p.url | relative_url }}" {% if page.url == p.url %}class="active"{% endif %}>
+        {{ p.title }}
+      </a>
     </li>
     {% endif %}
   {% endfor %}
-  <li><a href="{{site.docs_url}}">Docs</a></li>
   <li class="icon">
     <a href="javascript:void(0);" onclick="topnav()">
       {% octicon list-unordered class:"octicon-topnav" %}