mirror of https://github.com/istio/istio.io.git
26 lines
908 B
HTML
26 lines
908 B
HTML
<nav class="sidebar">
|
|
<div class="spacer"></div>
|
|
<div class="directory" role="tablist">
|
|
{{ $section := .Site.GetPage "section" .Section }}
|
|
|
|
<div class="card">
|
|
<div class="card-header" role="tab">
|
|
<div title="{{ $section.Description }}">
|
|
{{- if $section.Params.icon -}}
|
|
{{- partial "icon.html" $section.Params.icon -}}
|
|
{{- end -}}
|
|
{{- $section.Title -}}
|
|
</div>
|
|
</div>
|
|
|
|
{{ $pages := (where .Site.Pages "Section" .Section).ByWeight }}
|
|
|
|
<div role="tabpanel" aria-labelledby="header0">
|
|
<div class="card-body">
|
|
{{ partial "sidebar-level.html" (dict "pages" $pages "parent" $section "current" . "collapse" false) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|