diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5ada5af..4dab288 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -27,9 +27,11 @@ -
- {{ .TableOfContents }} -
+ {{ if .TableOfContents }} +
+ {{ .TableOfContents }} +
+ {{ end }}
{{ .Content }}