diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 72b2ddf..ba4b661 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -116,11 +116,6 @@ copyright = "" # default: author.name ↓ # 默认为下面配 flowchartDiagramsJS = ' ' sequenceDiagramsCSS = '' sequenceDiagramsJS = ' ' - # comment - gitmentJS = '' - gitmentCSS = '' - gitalkJS = '' - gitalkCSS = '' # Display a message at the beginning of an article to warn the readers that it's content may be outdated. # 在文章开头显示提示信息,提醒读者文章内容可能过时。 diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index c93c47d..f8411d2 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -55,13 +55,8 @@ {{- if .Site.Params.gitment.owner -}}
- {{ if .Site.Params.publicCDN.enable -}} - {{ .Site.Params.publicCDN.gitmentCSS | safeHTML }} - {{ .Site.Params.publicCDN.gitmentJS | safeHTML }} - {{- else -}} - - - {{- end }} + +