hugo-theme-even/layouts/partials/slideout.html
2017-08-31 00:18:22 +08:00

19 lines
No EOL
509 B
HTML

<div id="mobile-navbar" class="mobile-navbar">
<div class="mobile-header-logo">
<a href="{{ "/" | relURL }}" class="logo">{{ .Site.Title }}</a>
</div>
<div class="mobile-navbar-icon">
<span></span>
<span></span>
<span></span>
</div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
<ul class="mobile-menu-list">
{{ range .Site.Menus.main -}}
<a href="{{ .URL }}">
<li class="mobile-menu-item">{{ .Name }}</li>
</a>
{{- end }}
</ul>
</nav>