From 28511efd081dba9dac8cbf8fa2c8135216264243 Mon Sep 17 00:00:00 2001 From: Reorx Date: Fri, 27 May 2022 21:33:40 +0800 Subject: control comment system in partials/comments.html --- layouts/partials/comments_script.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 layouts/partials/comments_script.html (limited to 'layouts/partials/comments_script.html') 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 -}} -- cgit v1.2.3