2020-11-06 22:42:57 +00:00
|
|
|
<div class="side-nav">
|
2021-04-06 17:20:17 +00:00
|
|
|
<form class="d-flex align-items-center">
|
|
|
|
<span class="algolia-autocomplete" style="position: relative; display: inline-block; direction: ltr;">
|
|
|
|
<input type="search" class="form-control docsearch-input" id="search-input" placeholder="Search..."
|
|
|
|
aria-label="Search for..." autocomplete="off" spellcheck="false" role="combobox"
|
|
|
|
aria-autocomplete="list" aria-expanded="false" aria-owns="algolia-autocomplete-listbox-0"
|
|
|
|
dir="auto" style="position: relative; vertical-align: top;">
|
|
|
|
</span>
|
|
|
|
</form>
|
2020-11-06 22:42:57 +00:00
|
|
|
<ul>
|
2021-02-17 23:02:57 +00:00
|
|
|
{{- $currentPage := . }}
|
|
|
|
{{- range .Site.Menus.docs }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .URL }}" class="{{ cond ($currentPage.IsMenuCurrent "docs" .) "active" "" }}">{{ .Name }}</a>
|
|
|
|
{{- if .HasChildren }}
|
|
|
|
<ul class="sub-menu">
|
|
|
|
{{- range .Children }}
|
|
|
|
<li><a href="{{ .URL }}"{{ if $currentPage.IsMenuCurrent "docs" . }} class="active"{{ end }} >{{ .Name }}</a></li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
{{- end }}
|
|
|
|
</li>
|
|
|
|
{{- end }}
|
2020-11-06 22:42:57 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|