From 8d66d72d79f80f0f65c2db8aacbbfa8b9f608a3b Mon Sep 17 00:00:00 2001 From: OnlyFor Date: Wed, 14 Jul 2021 09:47:24 +0800 Subject: [PATCH] fix config sample & add no script --- exampleSite/config.toml | 1 + layouts/partials/comment.html | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index f9b3efee..c98cab32 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -857,6 +857,7 @@ ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"] [params.page.comment.twikoo] enable = false js = "https://cdn.jsdelivr.net/npm/twikoo@1.4.1/dist/twikoo.all.min.js" + evnId = "https://xxx.vercel.app" # Third-party library config [params.page.library] diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html index b2c8b12a..8e8c4978 100644 --- a/layouts/partials/comment.html +++ b/layouts/partials/comment.html @@ -132,12 +132,15 @@ + {{- end -}}