comparison _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
comparison
equal deleted inserted replaced
45:33f406425440 46:171ca967fcc9
1 <div class="fixed contain-to-grid"> 1 <div id="logo">
2 <nav class="top-bar" data-topbar role="navigation"> 2 <p>
3 <ul class="title-area"> 3 <img src="{{ "/img/logo.png" | prepend: site.baseurl }}" alt="GNU Octave Logo">
4 <li class="name"> 4 <span>{{ site.title }}</span>
5 <h1> 5 </p>
6 <a href="{{ site.baseurl }}/" style="height:100%">
7 <img src="{{ "/img/logo.png" | prepend: site.baseurl }}" style="width: 32px; height: auto"/>
8 {{ site.title }}
9 </a>
10 </h1>
11 </li>
12 <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
13 <li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li>
14 </ul>
15
16 <section class="top-bar-section">
17 <!-- Right Nav Section -->
18 <ul class="right">
19 {% for page in site.pages %}
20 {% if page.menu %}
21 <li>
22 <a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
23 </li>
24 {% endif %}
25 {% endfor %}
26 <li>
27 <a href="{{site.docs_url}}">Docs</a>
28 </li>
29 </ul>
30 </section>
31 </nav>
32 </div> 6 </div>
7
8
9 <ul class="topnav" id="myTopnav">
10 <li><a href="{{ page.url | prepend: "index.html" }}">Home</a></li>
11 {% for page in site.pages %}
12 {% if page.menu %}
13 <li><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
14 {% endif %}
15 {% endfor %}
16 <li class="icon">
17 <a href="javascript:void(0);" onclick="myFunction()">
18 {% octicon list-unordered height:18 class:"right left" %}
19 </a>
20 </li>
21 </ul>