Mercurial > web-octave
comparison _includes/header.html @ 94:e8fc61e077fc
Merged closed branch "kai" into default.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Tue, 01 Nov 2016 01:06:10 +0100 |
parents | 1138390dfe96 |
children | e7efa40deb17 |
comparison
equal
deleted
inserted
replaced
92:7609e2a6faef | 94:e8fc61e077fc |
---|---|
1 <div class="fixed contain-to-grid"> | 1 <div class="fixed contain-to-grid"> |
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="{{ site.baseurl }}/" style="height:100%"> | 6 <a href="{{ "/" | relative_url }}" style="height:100%"> |
7 <img src="{{ "/img/logo.png" | prepend: site.baseurl }}" style="width: 32px; height: auto"/> | 7 <img src="{{ "/img/logo.png" | 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 --> |
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 %} |
21 <li> | 21 <li> |
22 <a href="{{ page.url | prepend: site.baseurl }}">{{ 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> |