Whitespace and meta tags.
This commit is contained in:
parent
0299c650d5
commit
cf5d447b87
1 changed files with 54 additions and 50 deletions
|
|
@ -1,14 +1,14 @@
|
|||
{{ $currentSection := .Section }}
|
||||
{{ $currentID := .UniqueID }}
|
||||
<aside class="layout-3col__right-sidebar" role="complementary">
|
||||
{{ range $section, $taxonomy := .Site.Sections }}
|
||||
{{ if ne $section "" }}
|
||||
{{ range $section, $taxonomy := .Site.Sections -}}
|
||||
{{ if ne $section "" -}}
|
||||
<h4 class="menu"><a class="{{ if eq $currentSection $section }}active{{ end }}" href="/{{ urlize $section }}">{{ humanize $section }}</a></h4>
|
||||
<ul class="menu">
|
||||
{{ range $taxonomy.Pages }}
|
||||
{{ range $taxonomy.Pages -}}
|
||||
<li><a class="{{ if eq $currentID .UniqueID }}active{{ end }}" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
</ul>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
</aside>
|
||||
|
|
|
|||
Loading…
Reference in a new issue