aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/toc.html
blob: 83c276df5b56d92b605efc70122ed6e94a488fa4 (plain)
1
2
3
4
5
6
{{ $showToC := default (default true .Site.Params.BookShowToC) .Params.bookshowtoc }}
  {{ if and ($showToC) (.Page.TableOfContents) }}
  <aside class="book-toc fixed">
    {{ .Page.TableOfContents }}
  </aside>
{{ end }}