ContainerImage.Pinniped/site/themes/pinniped/layouts/partials/docs-sidebar.html

8 lines
262 B
HTML
Raw Normal View History

2020-11-06 22:42:57 +00:00
<div class="side-nav">
<ul>
{{ $currentPage := . }}
{{ range .Site.Menus.docs }}
<li><a href="{{ .URL }}" {{ if (eq $currentPage.RelPermalink .URL) }}class="active"{{ end }}>{{ .Name }}</a></li>
{{ end }}
</ul>
</div>