diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3c3315d..1f08e6d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -11,10 +11,12 @@ {{ if .Params.Image }} {{ end }} -
- {{ .TableOfContents }} -
-
+ {{ if (.Params.toc | default false) }} +
+ {{ .TableOfContents }} +
+
+ {{ end }}
{{ .Content }}
{{ if .Params.tags }}