32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<!-- Fixed navbar -->
|
|
<nav class="navbar navbar-default navbar-fixed-top">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
|
|
aria-expanded="false" aria-controls="navbar">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a href="${link '/index.html'}">
|
|
<img style="display: block; float: left; padding: 5px 10px 0 0px" alt="DataForge" height="45"
|
|
src="${r '/images/df_logo.png'}"/>
|
|
</a>
|
|
<!--<a class="navbar-brand" href="${link '/index.html'}">DataForge</a>-->
|
|
</div>
|
|
<div id="navbar" class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
<% page.sections?.each { Map section -> %>
|
|
<li <%if(page.url.equals(section.link)){%> class="active" <%}%>>
|
|
<a href="${site.url}${section.link}">${section.name}</a>
|
|
</li>
|
|
<% } %>
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li><a href="${site.url}/misc.html">See also</a></li>
|
|
</ul>
|
|
</div>
|
|
<!--/.nav-collapse -->
|
|
</div>
|
|
</nav> |