Mercurial > web-octave
comparison _includes/header.html @ 96:e7efa40deb17
Fix URLs, Images, Titles to be up with Alex original style.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Tue, 01 Nov 2016 02:03:28 +0100 |
parents | e8fc61e077fc |
children | a2fa1e57437e |
comparison
equal
deleted
inserted
replaced
95:25149c27c794 | 96:e7efa40deb17 |
---|---|
2 <nav class="top-bar" data-topbar role="navigation"> | 2 <nav class="top-bar" data-topbar role="navigation"> |
3 <ul class="title-area"> | 3 <ul class="title-area"> |
4 <li class="name"> | 4 <li class="name"> |
5 <h1> | 5 <h1> |
6 <a href="{{ "/" | relative_url }}" style="height:100%"> | 6 <a href="{{ "/" | relative_url }}" style="height:100%"> |
7 <img src="{{ "/img/logo.png" | relative_url }}" style="width: 32px; height: auto"/> | 7 <img src="{{ "/img/octave-logo.svg" | relative_url }}" style="width: 32px; height: auto"/> |
8 {{ site.title }} | 8 {{ site.title }} |
9 </a> | 9 </a> |
10 </h1> | 10 </h1> |
11 </li> | 11 </li> |
12 <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone --> | 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> | 13 <li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li> |
14 </ul> | 14 </ul> |
15 | 15 |
16 <section class="top-bar-section"> | 16 <section class="top-bar-section"> |
17 <!-- Right Nav Section --> | 17 <!-- Right Nav Section --> |
18 <ul class="right"> | 18 <ul class="right"> |
19 {% for page in site.pages %} | 19 {% for page in site.pages %} |
20 {% if page.menu %} | 20 {% if page.menu %} |
22 <a href="{{ page.url | relative_url }}">{{ page.title }}</a> | 22 <a href="{{ page.url | relative_url }}">{{ page.title }}</a> |
23 </li> | 23 </li> |
24 {% endif %} | 24 {% endif %} |
25 {% endfor %} | 25 {% endfor %} |
26 <li> | 26 <li> |
27 <a href="{{site.docs_url}}">Docs</a> | 27 <a href="{{site.docs_url}}">Docs</a> |
28 </li> | 28 </li> |
29 </ul> | 29 </ul> |
30 </section> | 30 </section> |
31 </nav> | 31 </nav> |
32 </div> | 32 </div> |