mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-11-29 01:55:19 +01:00
23 lines
865 B
Text
23 lines
865 B
Text
<nav id="main-nav" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
|
<div class="container">
|
|
<button type="button" class="navbar-header navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="<%- url_for('./') %>"><%= config.title %></a>
|
|
<div class="collapse navbar-collapse nav-menu">
|
|
<ul class="nav navbar-nav">
|
|
<% theme.menu.forEach(function(m){ %>
|
|
<li>
|
|
<a href="<%- url_for('./') %><%- m.url %>" title="<%- m.intro %>">
|
|
<i class="<%- m.icon %>"></i><%- m.title %>
|
|
</a>
|
|
</li>
|
|
<% }) %>
|
|
</ul>
|
|
</div>
|
|
</div> <!-- container -->
|
|
</nav>
|
|
<div class="clearfix"></div>
|