summaryrefslogtreecommitdiffstats
path: root/layouts/partials/scripts.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/scripts.html')
-rw-r--r--layouts/partials/scripts.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 1a8a28c..6bcdd8b 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -8,6 +8,7 @@
</script>
<!-- utterances comment loading indicator -->
+{{ if ne .Params.noComments true }}
{{ if and (.IsPage) (.Site.Params.utterancesRepo) }}
<script>
$(function () {
@@ -34,6 +35,7 @@
});
</script>
{{ end }}
+{{ end }}
<!-- toc smooth scroll & APlayer cjk html anchor fix -->
{{ if in .Site.Params.mainSections .Type }}