forked from planex/defiance
24 lines
No EOL
793 B
HTML
24 lines
No EOL
793 B
HTML
<div>
|
|
<nav id="nav">
|
|
<div id="nav-toggle-mobile">
|
|
<i>
|
|
<svg style="fill: #FAFAFA; margin-left: 10px;" viewBox="0 0 100 80" width="40" height="40">
|
|
<title>Hamburger menu button</title>
|
|
<rect width="100" height="20"></rect>
|
|
<rect y="30" width="100" height="20"></rect>
|
|
<rect y="60" width="100" height="20"></rect>
|
|
</svg>
|
|
</i>
|
|
</div>
|
|
<ul id="nav-list">
|
|
{{ range .Site.Menus.main }}
|
|
<li class="nav-li">
|
|
<a class="nav-button" href="{{ .URL }}">
|
|
{{ $text := print .Name | safeHTML }}
|
|
{{ $text }}
|
|
</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</nav>
|
|
</div> |