From 9347a9d2f4c5225dc486f0c64fdf702725fba227 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Sun, 10 Sep 2017 22:24:26 +0800 Subject: [PATCH] fix: changyan was blocked in https mixed content: change 'http' to 'https' Fixes #2 --- layouts/partials/comments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index fea1a33..8728c17 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -28,7 +28,7 @@ var appid = '{{ .Site.Params.changyanAppid }}'; var conf = '{{ .Site.Params.changyanAppkey }}'; var width = window.innerWidth || document.documentElement.clientWidth; - if (width < 960) {window.document.write(' {{- end }}