13 lines
461 B
HTML
13 lines
461 B
HTML
{{ $currentID := .UniqueID }}
|
|
<aside class="layout-3col__right-sidebar" role="complementary">
|
|
{{ range $.Site.Home.Sections -}}
|
|
<section>
|
|
<h4 class="menu"><a class="{{ if eq $currentID .UniqueID }}active{{ end }}" href="{{ .RelPermalink }}">{{ .Title }}</a></h4>
|
|
<ul class="menu">
|
|
{{ range .Pages -}}
|
|
<li><a class="{{ if eq $currentID .UniqueID }}active{{ end }}" href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
|
{{ end -}}
|
|
</ul>
|
|
</section>
|
|
{{ end -}}
|
|
</aside>
|