From 0ed932121cd278fa1678e518728e7bb728bd1a9a Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 23 Apr 2020 19:42:06 +0800 Subject: Adjust comments settings --- layouts/_default/single.html | 4 ---- layouts/partials/comment-disqus.html | 10 ++++++---- layouts/partials/comment-utterances.html | 6 ++++-- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7bd92e8..6056021 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -20,10 +20,6 @@ {{ end }} -{{ if .Site.Params.utterancesComment }} {{ partial "comment-utterances.html" . }} -{{ end }} -{{ if .Site.Params.disqusComment }} {{ partial "comment-disqus.html" . }} -{{ end }} {{ end }} \ No newline at end of file diff --git a/layouts/partials/comment-disqus.html b/layouts/partials/comment-disqus.html index 4477226..81c9c68 100644 --- a/layouts/partials/comment-disqus.html +++ b/layouts/partials/comment-disqus.html @@ -1,16 +1,18 @@ +{{ with .Site.Params.disqusShortname }}
-
\ No newline at end of file + +{{ end }} \ No newline at end of file diff --git a/layouts/partials/comment-utterances.html b/layouts/partials/comment-utterances.html index b41aef4..b3edfbd 100644 --- a/layouts/partials/comment-utterances.html +++ b/layouts/partials/comment-utterances.html @@ -1,7 +1,9 @@ +{{ with .Site.Params.utterancesRepo }}

{{ i18n "postCommentLoading" }}

- -
\ No newline at end of file + + +{{ end }} \ No newline at end of file -- cgit v1.2.3