20 lines
687 B
HTML
20 lines
687 B
HTML
<nav>
|
|
<div class="tabs is-fullwidth nav-tabs is-uppercase">
|
|
<ul>
|
|
<li{{ if eq $.Page.Params.Title "index" }} class="is-active"{{ end }}><a href="/">Home</a></li>
|
|
{{ range $nav_tab := site.Params.navbar }}
|
|
{{ $nav_title := replace $nav_tab "-" " " | title }}
|
|
{{ if eq $.Page.Params.title $nav_title }}
|
|
<li class="is-active"><a href="/{{$nav_tab}}">{{ $nav_title }}</a></li>
|
|
{{else}}
|
|
<li><a href="/{{$nav_tab}}">{{ $nav_title }}</a></li>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{/* <li><a>About</a></li>
|
|
<li><a>Writing</a></li>
|
|
<li><a>Videos</a></li>
|
|
<li><a>Get In Touch</a></li> */}}
|
|
</ul>
|
|
</div>
|
|
</nav>
|