2017-02-28 09:56:46 -08:00
|
|
|
<!-- Navigation -->
|
2017-03-10 22:59:27 -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">{{ .Site.Params.navbar.text | default .Site.Title }}</a>
|
|
|
|
<div class="nav-bar__menu-button"> <i class="fa fa-bars"></i></div>
|
|
|
|
</div>
|
|
|
|
<!-- <nav class="nav-bar__menu"> -->
|
|
|
|
<ul class="nav-bar__menu display-menu">
|
2017-03-04 08:12:31 -08:00
|
|
|
{{ range .Data.Pages }}
|
2017-03-10 22:59:27 -08:00
|
|
|
{{ if ne .File.BaseFileName "footer"}}
|
2017-03-04 08:12:31 -08:00
|
|
|
<li>
|
2017-03-10 22:59:27 -08:00
|
|
|
<a class="nav-bar__link" href="#{{ .File.BaseFileName }}">
|
2017-03-04 08:12:31 -08:00
|
|
|
{{ if isset .Params "link_text" }}
|
|
|
|
{{ index .Params "link_text" }}
|
|
|
|
{{ else }}
|
|
|
|
{{ index .Title }}
|
|
|
|
{{ end }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
2017-03-10 22:59:27 -08:00
|
|
|
{{ end }}
|
2017-03-04 08:12:31 -08:00
|
|
|
</ul>
|
2017-03-10 22:59:27 -08:00
|
|
|
<!-- </nav> -->
|
|
|
|
<!-- </div> -->
|
2017-03-04 08:12:31 -08:00
|
|
|
</div>
|