2021-08-23 05:58:39 +00:00
|
|
|
<nav>
|
2022-12-22 23:18:44 +00:00
|
|
|
<div class="tabs is-fullwidth nav-tabs is-uppercase">
|
2021-08-23 05:58:39 +00:00
|
|
|
<ul>
|
2022-12-23 00:28:38 +00:00
|
|
|
<li{{ if eq $.Page.Params.Title "index" }} class="is-active"{{ end }}><a href="/">Home</a></li>
|
2021-08-23 05:58:39 +00:00
|
|
|
{{ range $nav_tab := site.Params.navbar }}
|
2022-12-23 00:28:38 +00:00
|
|
|
{{ $nav_title := replace $nav_tab "-" " " | title }}
|
|
|
|
{{ if eq $.Page.Params.title $nav_title }}
|
2021-08-23 05:58:39 +00:00
|
|
|
<li class="is-active"><a href="/{{$nav_tab}}">{{ $nav_title }}</a></li>
|
2022-12-23 00:28:38 +00:00
|
|
|
{{else}}
|
2021-08-23 05:58:39 +00:00
|
|
|
<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>
|
2022-12-22 23:18:44 +00:00
|
|
|
</nav>
|