summaryrefslogtreecommitdiff
path: root/themes/new_theme/layouts/partials/comments.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/new_theme/layouts/partials/comments.html')
-rw-r--r--themes/new_theme/layouts/partials/comments.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/new_theme/layouts/partials/comments.html b/themes/new_theme/layouts/partials/comments.html
index e69de29..b2e619d 100644
--- a/themes/new_theme/layouts/partials/comments.html
+++ b/themes/new_theme/layouts/partials/comments.html
@@ -0,0 +1,5 @@
+{{ if and .Site.DisqusShortname (index .Params "comments" | default "true") (not .Site.IsServer) }}
+<section class="comments">
+ {{ template "_internal/disqus.html" . }}
+</section>
+{{ end }}