aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorzhaozhiyuan <shetu2008@163.com>2018-11-05 16:07:12 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-11-05 16:07:12 +0800
commit1a1240ccf7a4ed8afc6c12e65c333b426248bb38 (patch)
tree246c1c27cbc7c6542016f6bbd5ff9d4b981836e6 /layouts
parent2517f748de42cb4babcc966a98cda7d6c36377ef (diff)
chore(gitalk): upgrade
Closes #87
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/comments.html9
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 }}',