diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html
index 429c9ee..2656c6d 100644
--- a/layouts/partials/toc.html
+++ b/layouts/partials/toc.html
@@ -1,6 +1,8 @@
{{ $toc := and ($.Site.Params.toc) (ge .WordCount $.Site.Params.tocWordCount) }}
{{ if isset .Params "toc" }}
{{ $toc = .Params.toc }}
+{{ else }}
+ {{ $toc = true }}
{{ end }}