aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/slideout.html
blob: 0ebf0c290af4a8dc228df8757681681fd0800be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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>