2017-02-28 09:56:46 -08:00
|
|
|
<!-- Navigation -->
|
2017-03-11 20:11:20 -08:00
|
|
|
<div id="nav-bar" class="nav-bar">
|
|
|
|
<!-- <div class="nav-bar__container"> -->
|
|
|
|
<div class="nav-bar__header">
|
|
|
|
<a href="#hero" class="nav-bar__logo">{{ if .Site.Params.navbar.logo_text }} {{ .Site.Params.navbar.logo_text }} {{ else }} {{ .Site.Title | default "Add a site title" }} {{ end }}</a>
|
|
|
|
<div class="nav-bar__menu-button"> <i class="fa fa-bars"></i></div>
|
|
|
|
</div>
|
2017-03-29 19:58:42 -07:00
|
|
|
<!-- <nav class="nav-bar__menu-off"> -->
|
2017-03-11 20:11:20 -08:00
|
|
|
<ul class="nav-bar__menu hide-menu">
|
2017-03-30 16:09:00 -07:00
|
|
|
{{ range .Data.Pages }}
|
|
|
|
{{ if ne .Params.navbar false }}
|
|
|
|
{{ if ne .Params.hidden true }}
|
2017-03-11 20:11:20 -08:00
|
|
|
<li class="nav-bar__menu-item">
|
2017-03-30 16:09:00 -07:00
|
|
|
<a href="#{{ .File.BaseFileName }}">
|
|
|
|
{{ .Params.link_text | default .Title }}
|
|
|
|
</a>
|
2017-03-11 20:11:20 -08:00
|
|
|
</li>
|
|
|
|
{{ end }} {{ end }}
|
2017-03-30 16:09:00 -07:00
|
|
|
{{ end }}
|
2017-03-11 20:11:20 -08:00
|
|
|
</ul>
|
|
|
|
<!-- </nav> -->
|
|
|
|
<!-- </div> -->
|
|
|
|
</div>
|