From ec6a99061ae661b85924af126a532ca48008afaa Mon Sep 17 00:00:00 2001 From: coderzh Date: Sun, 22 Jul 2018 23:39:17 +0800 Subject: Comment area failed to load #20 --- layouts/partials/comment.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html index 8583518..693642e 100644 --- a/layouts/partials/comment.html +++ b/layouts/partials/comment.html @@ -1,10 +1,10 @@ -{{ if .Site.Params.DuoShuoShortName }} +{{ if .Site.Params.DuoShuo.ShortName }}
{{ end }} -{{ if .Site.Params.DisqusShortName }} +{{ if .Site.Params.Disqus.ShortName }}
@@ -32,7 +32,7 @@ this.page.identifier = {{ .Permalink }}; (function() { // DON'T EDIT BELOW THIS LINE var d = document, s = d.createElement('script'); -s.src = '//{{ .Site.Params.DisqusShortName }}.disqus.com/embed.js'; +s.src = '//{{ .Site.Params.Disqus.ShortName }}.disqus.com/embed.js'; s.setAttribute('data-timestamp', +new Date()); (d.head || d.body).appendChild(s); -- cgit v1.2.3