diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 431d435..a09cee2 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -10,7 +10,7 @@
{{ .Title }}
- {{if .Params.toc }}
+ {{ if .Params.toc }}
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 431d435..a09cee2 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -10,7 +10,7 @@
{{ .Title }}
- {{if .Params.toc }}
+ {{ if .Params.toc }}