2018-09-10 09:21:59 +00:00
|
|
|
<header id="header" class="header">
|
|
|
|
<div class="mobile-nav">
|
|
|
|
<h1 class="nickname"><%= theme.nickname %></h1>
|
|
|
|
<a id="menu">
|
|
|
|
☰ Menu
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<% if (theme.nav === 'left') { %>
|
|
|
|
<nav id="main-nav" class="main-nav nav-left">
|
|
|
|
<% } else { %>
|
|
|
|
<nav id="main-nav" class="main-nav">
|
|
|
|
<% } %>
|
2018-11-01 01:35:09 +00:00
|
|
|
<% for (let i in theme.menu) { %>
|
2018-09-10 09:21:59 +00:00
|
|
|
<a class="main-nav-link" href="<%- url_for(theme.menu[i]) %>"><%= i %></a>
|
|
|
|
<% } %>
|
|
|
|
</nav>
|
|
|
|
</header>
|