summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 13c56ada..f22f8d6b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -57,7 +57,9 @@
{{ end }}
</div>
- {{ partial "components/comment.html" . }}
+ {{ if in .Site.Params.mainSections .Type }}
+ {{ partial "components/comment.html" . }}
+ {{ end }}
<script src="/js/tocbot.min.js"></script>
<script>