Refactor templates and partials
This commit is contained in:
@@ -1 +1,6 @@
|
||||
{{ .Page.TableOfContents }}
|
||||
{{ $showToC := default (default true .Site.Params.BookShowToC) .Params.bookshowtoc }}
|
||||
{{ if and ($showToC) (.Page.TableOfContents) }}
|
||||
<aside class="book-toc fixed">
|
||||
{{ .Page.TableOfContents }}
|
||||
</aside>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user