doc: fix nav in website mode

This commit is contained in:
Aldo Cortesi 2015-05-22 11:21:00 +12:00
parent 634f2e2c24
commit f816246f4e

View File

@ -16,9 +16,9 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li $!'class="active"' if this.under("/index.html") else ""!$> <a href="@!top!@/index.html">home</a> </li> <li> <a href="@!top!@/index.html">home</a> </li>
<li $!'class="active"' if this.under("/doc") else ""!$><a href="@!top!@/doc/index.html">docs</a></li> <li class="active"><a href="@!top!@/doc/index.html">docs</a></li>
<li $!'class="active"' if this.under("/about.html") else ""!$><a href="@!top!@/about.html">about</a></li> <li><a href="@!top!@/about.html">about</a></li>
</ul> </ul>
</div> </div>
</div> </div>