summaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
authoramzrk22020-05-18 11:14:45 +0800
committeramzrk22020-05-18 11:14:45 +0800
commitee964a15351eab53f9a26dfc4098f4cf69cefe40 (patch)
tree6a74d9a51b14c4d71a1316fb83d4311741f4d47b /layouts/_default
parent4da3a18feb9d6be806d92a92230e3722fe76062a (diff)
downloadhugo-theme-fuji-ee964a15351eab53f9a26dfc4098f4cf69cefe40.tar.gz
hugo-theme-fuji-ee964a15351eab53f9a26dfc4098f4cf69cefe40.tar.bz2
hugo-theme-fuji-ee964a15351eab53f9a26dfc4098f4cf69cefe40.zip
Update to disable comments for designated post
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 87b6d62..e2b0fc1 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -23,6 +23,8 @@
</blockquote>
</div>
{{ end }}
+{{ if ne .Params.noComments true }}
{{ partial "comment-utterances.html" . }}
{{ partial "comment-disqus.html" . }}
+{{ end }}
{{ end }} \ No newline at end of file