Whitespace and meta tags.
This commit is contained in:
parent
0299c650d5
commit
cf5d447b87
1 changed files with 54 additions and 50 deletions
|
|
@ -5,15 +5,15 @@
|
|||
<h2 class="visually-hidden">Main menu</h2>
|
||||
<ul class="navbar clearfix">
|
||||
<li><a class="{{ if .IsHome }}active{{ end }}" href="/">Home</a></li>
|
||||
{{ range $section, $taxonomy := .Site.Sections }}
|
||||
{{ if eq $section "" }}
|
||||
{{ range $taxonomy.Pages }}
|
||||
{{ range $section, $taxonomy := .Site.Sections -}}
|
||||
{{ if eq $section "" -}}
|
||||
{{ range $taxonomy.Pages -}}
|
||||
<li><a class="{{ if eq $currentID .UniqueID }}active{{ end }}" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ end -}}
|
||||
{{ else -}}
|
||||
<li><a class="{{ if eq $currentSection $section }}active{{ end }}" href="/{{ urlize $section }}">{{ humanize $section }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue