diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7702d50..72b2ddf 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -119,8 +119,8 @@ copyright = "" # default: author.name ↓ # 默认为下面配 # comment gitmentJS = '' gitmentCSS = '' - gitalkJS = '' - gitalkCSS = '' + 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 cac3546..c93c47d 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -83,13 +83,8 @@ {{- if .Site.Params.gitalk.owner -}}
- {{ if .Site.Params.publicCDN.enable -}} - {{ .Site.Params.publicCDN.gitalkCSS | safeHTML }} - {{ .Site.Params.publicCDN.gitalkJS | safeHTML }} - {{- else -}} - - - {{- end }} + {{ .Site.Params.publicCDN.gitalkCSS | safeHTML }} + {{ .Site.Params.publicCDN.gitalkJS | safeHTML }}