diff options
Diffstat (limited to 'layouts/partials/root-toc.html')
-rw-r--r-- | layouts/partials/root-toc.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/root-toc.html b/layouts/partials/root-toc.html index 2792ce9..834620b 100644 --- a/layouts/partials/root-toc.html +++ b/layouts/partials/root-toc.html @@ -1,8 +1,8 @@ +{{/* Do not use this, for now */}} <details class="toc-collapse"> <summary>{{ i18n "toc" }}</summary> - {{ $currentLink := .RelPermalink }} {{ range last 1 (where .Ancestors "Params.categories" "intersect" (slice "book") ) }} <a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ partial "toc.html" (dict "content" . "currentLink" $currentLink) }} + {{ partial "toc.html" . }} {{ end }} </details> |