From 3df71601ae866aff9c2ae060ed1ac7407807fcc4 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 3 Jun 2020 13:58:49 +0800 Subject: New comment area & opt out of font awesome --- layouts/partials/comment-disqusjs.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 layouts/partials/comment-disqusjs.html (limited to 'layouts/partials/comment-disqusjs.html') diff --git a/layouts/partials/comment-disqusjs.html b/layouts/partials/comment-disqusjs.html new file mode 100644 index 0000000..5414aef --- /dev/null +++ b/layouts/partials/comment-disqusjs.html @@ -0,0 +1,24 @@ +
+ +  查看评论 + + + + +
\ No newline at end of file -- cgit v1.2.3 From 63433dd64a35ef1a45301849ee9550b1f74fefd4 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 3 Jun 2020 14:04:29 +0800 Subject: Update DisqusJS default settings --- layouts/partials/comment-disqusjs.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'layouts/partials/comment-disqusjs.html') diff --git a/layouts/partials/comment-disqusjs.html b/layouts/partials/comment-disqusjs.html index 5414aef..ebede31 100644 --- a/layouts/partials/comment-disqusjs.html +++ b/layouts/partials/comment-disqusjs.html @@ -14,9 +14,7 @@ url: '{{ .Permalink }}', title: '{{ .Title }}', api: '{{ .Site.Params.disqusJSApi }}', - apikey: '{{ .Site.Params.disqusJSApikey }}', - admin: '{{ .Site.Params.disqusJSAdmin }}', - adminLabel: '{{ .Site.Params.disqusJSAdminlabel }}' + apikey: '{{ .Site.Params.disqusJSApikey }}' }); document.querySelector('span.post-comment-notloaded').setAttribute('style', 'display: none;'); } -- cgit v1.2.3 From 98cd7b30728bd5d98abbfea10000038604a59156 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 4 Jun 2020 16:02:57 +0800 Subject: Comment area i18n --- layouts/partials/comment-disqusjs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/comment-disqusjs.html') diff --git a/layouts/partials/comment-disqusjs.html b/layouts/partials/comment-disqusjs.html index ebede31..eafa1de 100644 --- a/layouts/partials/comment-disqusjs.html +++ b/layouts/partials/comment-disqusjs.html @@ -1,6 +1,6 @@
-  查看评论 +  {{ i18n "postComment" }} -- cgit v1.2.3