about summary refs log tree commit diff
path: root/layouts/partials/root-toc.html
blob: 834620bb95fa492a3a319371ec28ec05ece6a263 (plain) (blame)
1
2
3
4
5
6
7
8
{{/* Do not use this, for now */}}
	<details class="toc-collapse">
		<summary>{{ i18n "toc" }}</summary>
		{{ range last 1 (where .Ancestors "Params.categories" "intersect" (slice "book") ) }}
		<a href="{{ .RelPermalink }}">{{ .Title }}</a>
		{{ partial "toc.html" . }}
		{{ end }}
	</details>