hugo-theme-even/layouts/partials/slideout.html

25 lines
651 B
HTML
Raw Normal View History

2017-08-27 14:38:42 +00:00
<div id="mobile-navbar" class="mobile-navbar">
<div class="mobile-header-logo">
<a href="{{ "/" | relLangURL }}" class="logo">
2017-09-16 09:49:53 +00:00
{{- if .Site.Params.logoTitle -}}
{{ .Site.Params.logoTitle }}
{{- else -}}
{{ .Site.Title }}
{{- end -}}
</a>
2017-08-27 14:38:42 +00:00
</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 | safeURL }}">
2017-08-27 14:38:42 +00:00
<li class="mobile-menu-item">{{ .Name }}</li>
</a>
{{- end }}
</ul>
</nav>