Move all layouts to platters theme
This commit is contained in:
parent
de8101efed
commit
66adceaf24
91 changed files with 0 additions and 0 deletions
8
themes/platters/layouts/partials/table_of_contents.html
Normal file
8
themes/platters/layouts/partials/table_of_contents.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{ if and (gt .WordCount 400) (.Params.toc | default false) }}
|
||||
<aside id="table-of-contents">
|
||||
<details {{ if eq .Params.toc "open" }}open{{ end }}>
|
||||
<summary>Table of Contents</summary>
|
||||
{{ .TableOfContents }}
|
||||
</details>
|
||||
</aside>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue