From c1e7fd937bb4c1faf5a84447bd180da4674c38f5 Mon Sep 17 00:00:00 2001 From: Hue <19755727+HueLiu@users.noreply.github.com> Date: Thu, 28 Oct 2021 17:36:03 +0800 Subject: [PATCH] Modify the Self-hosting js source path --- layouts/partials/comments/provider/cusdis.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/comments/provider/cusdis.html b/layouts/partials/comments/provider/cusdis.html index 71863f3..722454b 100644 --- a/layouts/partials/comments/provider/cusdis.html +++ b/layouts/partials/comments/provider/cusdis.html @@ -8,7 +8,11 @@ data-page-id="{{ .File.UniqueID }}" data-page-url="{{ .Permalink }}" data-page-title="{{ .Title }}"> +{{ if .Site.Params.comments.cusdis.host }} + +{{ else }} +{{ end }}