diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 7d02963..e0da0f9 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -6,6 +6,15 @@
Next post: {{ .Title }} »
{{ end }}
+ {{ if and (ne .Params.toc "false") (or (eq .Params.toc "true") (gt .WordCount 400)) }}
+
+ {{ end }}