summaryrefslogtreecommitdiff
path: root/layouts/partials/comments_script.html
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-05-27 21:33:40 +0800
committerReorx <novoreorx@gmail.com>2022-05-27 21:33:40 +0800
commit28511efd081dba9dac8cbf8fa2c8135216264243 (patch)
tree6fe8e74f91dbc1ae25d848d552cc0e3357d3b53d /layouts/partials/comments_script.html
parent9f8b0c319412a75f703d98e9a36cc91e8d7ccdda (diff)
control comment system in partials/comments.html
Diffstat (limited to 'layouts/partials/comments_script.html')
-rw-r--r--layouts/partials/comments_script.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/comments_script.html b/layouts/partials/comments_script.html
new file mode 100644
index 0000000..8663497
--- /dev/null
+++ b/layouts/partials/comments_script.html
@@ -0,0 +1,5 @@
+{{- /* You can add your own layouts/comments_script.html to override this file */ -}}
+
+{{- with site.Params.commentSystem.disqus -}}
+ {{ partial "disqus_script.html" . }}
+{{- end -}}