aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/single/components/comments/comments.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/single/components/comments/comments.html')
-rw-r--r--layouts/partials/single/components/comments/comments.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/partials/single/components/comments/comments.html b/layouts/partials/single/components/comments/comments.html
new file mode 100644
index 0000000..2eae412
--- /dev/null
+++ b/layouts/partials/single/components/comments/comments.html
@@ -0,0 +1,11 @@
+{{ if .IsPage }}
+ <!-- giscus -->
+ {{ if .Site.Params.giscus.enable }}
+ {{ partial "single/components/comments/giscus" . }}
+ {{ end }}
+
+ <!-- disqus -->
+ {{ if .Site.Params.disqusShortname }}
+ {{ partial "single/components/comments/disqus" . }}
+ {{ end }}
+{{ end }} \ No newline at end of file