2020-03-14 16:17:04 +08:00
|
|
|
<nav class="nav" role="navigation">
|
|
|
|
<ul class="menu-list">
|
|
|
|
<% for (let i in theme.menu) { %>
|
|
|
|
<li class="menu-item">
|
2020-03-20 15:30:39 +08:00
|
|
|
<a class="<%- is_current(theme.menu[i]) ? 'current':'' %>" href="<%- url_for(theme.menu[i]) %>"><%= __(i.toLowerCase()) %></a>
|
2020-03-14 16:17:04 +08:00
|
|
|
</li>
|
|
|
|
<% } %>
|
|
|
|
</ul>
|
|
|
|
</nav>
|