diff _includes/header.html @ 46:171ca967fcc9 kai

Start new development branch closer to the current website, but more lightweigt for further maintanence.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Wed, 28 Sep 2016 02:08:11 +0200
parents 1138390dfe96
children 6b221a8157ab
line wrap: on
line diff
--- a/_includes/header.html	Mon Sep 26 17:56:49 2016 +0200
+++ b/_includes/header.html	Wed Sep 28 02:08:11 2016 +0200
@@ -1,32 +1,21 @@
-<div class="fixed contain-to-grid">
-  <nav class="top-bar" data-topbar role="navigation">
-    <ul class="title-area">
-      <li class="name">
-        <h1>
-          <a href="{{ site.baseurl }}/" style="height:100%">
-            <img src="{{ "/img/logo.png" | prepend: site.baseurl }}" style="width: 32px; height: auto"/>
-            {{ site.title }}
-          </a>
-        </h1>
-      </li>
-      <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
-      <li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li>
-    </ul>
-  
-    <section class="top-bar-section">
-      <!-- Right Nav Section -->
-      <ul class="right">
-        {% for page in site.pages %}
-          {% if page.menu %}
-            <li>
-              <a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
-            </li>
-          {% endif %}
-        {% endfor %}
-        <li>
-          <a href="{{site.docs_url}}">Docs</a>  
-        </li>
-      </ul>
-    </section>
-  </nav>
-</div>
\ No newline at end of file
+<div id="logo">
+  <p>
+    <img src="{{ "/img/logo.png" | prepend: site.baseurl }}" alt="GNU Octave Logo">
+    <span>{{ site.title }}</span>
+  </p>
+</div>
+
+
+<ul class="topnav" id="myTopnav">
+  <li><a href="{{ page.url | prepend: "index.html" }}">Home</a></li>
+  {% for page in site.pages %}
+    {% if page.menu %}
+  <li><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
+    {% endif %}
+  {% endfor %}
+  <li class="icon">
+    <a href="javascript:void(0);" onclick="myFunction()">
+      {% octicon list-unordered height:18 class:"right left" %}
+    </a>
+  </li>
+</ul>