forked from autonomic-cooperative/sophie-lewis-hugo
Changes Abolish the Family
This commit is contained in:
@ -3,8 +3,8 @@
|
||||
<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 }}
|
||||
{{ $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>
|
||||
|
||||
Reference in New Issue
Block a user