Mercurial > web-octave
view _includes/header.html @ 58:2e2e9feba1f3 kai
Refactor top navigation.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Tue, 11 Oct 2016 15:59:18 +0200 |
parents | 002d154531d4 |
children | a7952259f5d3 |
line wrap: on
line source
<div id="logo"> <p> <img src="{{ "/img/logo.png" | relative_url }}" alt="GNU Octave Logo"> <span>GNU Octave</span> </p> </div> <ul class="topnav" id="myTopnav"> <li><a href="{{ "/index.html" | relative_url }}">Home</a></li> {% for mpage in site.pages %} {% if mpage.menu %} <li> <a href="{{ mpage.url | relative_url }}" {% if page.url == mpage.url %} class="active"{% endif %}> {{ mpage.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 height:18 class:"right left" %} </a> </li> </ul>