2018-09-10 09:21:59 +00:00
|
|
|
<header id="header" class="header">
|
2018-11-06 06:32:15 +00:00
|
|
|
<%/* Nav menu for desktop */%>
|
2018-11-08 01:57:15 +00:00
|
|
|
<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>
|
2018-11-06 06:32:15 +00:00
|
|
|
<%/* Nav menu for mobile */%>
|
|
|
|
<nav class="mobile-nav">
|
|
|
|
<h1 class="nickname"><%= theme.nickname %></h1>
|
2018-11-08 01:41:23 +00:00
|
|
|
<ul class="mobile-nav-menu">
|
|
|
|
<label for="mobile-menu-toggle"><a>☰ Menu</a></label>
|
|
|
|
<input id="mobile-menu-toggle" type="checkbox"/>
|
|
|
|
<ul class="mobile-nav-link">
|
2018-11-06 06:32:15 +00:00
|
|
|
<% for (let i in theme.menu) { %>
|
|
|
|
<a href="<%- url_for(theme.menu[i]) %>"><%= i %></a>
|
|
|
|
<% } %>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2018-09-10 09:21:59 +00:00
|
|
|
</header>
|