summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index ded367b..0af5019 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -21,7 +21,7 @@
{{ end }}
{{ if .Params.ShowToc }}
<div class="toc">
- <details>
+ <details {{if .Params.TocOpen }} open{{ end }}>
<summary>
<div class="details">Table of Contents</div>
</summary>