19 lines
502 B
HTML
19 lines
502 B
HTML
<nav>
|
|
{{ partial "docs/brand" . }}
|
|
{{ partial "docs/search" . }}
|
|
{{ partial "docs/inject/menu-before" . }}
|
|
|
|
{{ if .Site.Params.BookMenuBundle }}
|
|
{{ partial "docs/menu-bundle" . }}
|
|
{{ else }}
|
|
{{ partial "docs/menu-filetree" . }}
|
|
{{ end }}
|
|
|
|
{{ partial "docs/inject/menu-after" . }}
|
|
</nav>
|
|
|
|
<!-- Restore menu position as soon as possible to avoid flickering -->
|
|
{{ $script := resources.Get "menu-reset.js" | resources.Minify }}
|
|
{{ with $script.Content }}
|
|
<script>{{ . | safeJS }}</script>
|
|
{{ end }}
|