diff options
author | zhaozhiyuan <shetu2008@163.com> | 2018-11-05 16:07:12 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-11-05 16:07:12 +0800 |
commit | 1a1240ccf7a4ed8afc6c12e65c333b426248bb38 (patch) | |
tree | 246c1c27cbc7c6542016f6bbd5ff9d4b981836e6 /layouts/partials | |
parent | 2517f748de42cb4babcc966a98cda7d6c36377ef (diff) |
chore(gitalk): upgrade
Closes #87
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/comments.html | 9 |
1 files changed, 2 insertions, 7 deletions
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 @@ <!-- gitalk --> {{- if .Site.Params.gitalk.owner -}} <div id="gitalk-container"></div> - {{ if .Site.Params.publicCDN.enable -}} - {{ .Site.Params.publicCDN.gitalkCSS | safeHTML }} - {{ .Site.Params.publicCDN.gitalkJS | safeHTML }} - {{- else -}} - <link rel="stylesheet" href="{{ "lib/gitalk/gitalk-1.2.2.min.css" | relURL }}"> - <script src="{{ "lib/gitalk/gitalk-1.2.2.min.js" | relURL }}"></script> - {{- end }} + {{ .Site.Params.publicCDN.gitalkCSS | safeHTML }} + {{ .Site.Params.publicCDN.gitalkJS | safeHTML }} <script type="text/javascript"> var gitalk = new Gitalk({ id: '{{ .Date }}', |