mirror of https://gitlab.com/curben/blog
fix(layout): add default mobile menu
This commit is contained in:
parent
f28c920fad
commit
e1cdcf5f33
|
@ -48,9 +48,11 @@
|
|||
</form>
|
||||
</div>
|
||||
<i>Powered by DuckDuckGo</i>
|
||||
<% if (!theme.menu) { %><a class="mobile-nav-link-a" href="<%- config.root %>">Home</a>
|
||||
<% } else { %>
|
||||
<% for (const i in theme.menu) { %>
|
||||
<a class="mobile-nav-link-a" href="<%- url_for(theme.menu[i]) %>"><%= i %></a>
|
||||
<% } %>
|
||||
<% }} %>
|
||||
</ul>
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in New Issue