aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-coder/layouts/partials/posts/disqus.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-coder/layouts/partials/posts/disqus.html')
-rw-r--r--themes/hugo-coder/layouts/partials/posts/disqus.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/hugo-coder/layouts/partials/posts/disqus.html b/themes/hugo-coder/layouts/partials/posts/disqus.html
new file mode 100644
index 0000000..b0ffb1f
--- /dev/null
+++ b/themes/hugo-coder/layouts/partials/posts/disqus.html
@@ -0,0 +1,3 @@
1{{- if and (not (eq (.Site.DisqusShortname | default "") "")) (eq (.Params.disableComments | default false) false) -}}
2 {{ template "_internal/disqus.html" . }}
3{{- end -}}