From efb0b592a0072ce69be4b8afdfc859d5ae5dbe1b Mon Sep 17 00:00:00 2001 From: Track3 Date: Sun, 30 Dec 2018 11:06:38 +0800 Subject: Put comments into a partial * Also removed unnecessary Disqus style (didn't regenerate resources) --- layouts/posts/single.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'layouts/posts') diff --git a/layouts/posts/single.html b/layouts/posts/single.html index c84c50c..a748b95 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -50,11 +50,9 @@ {{- end }} - {{- if .Site.DisqusShortname }} -
- {{ template "_internal/disqus.html" . }} +
+ {{ partial "comments.html" . }}
- {{- end }} {{ end }} -- cgit v1.2.3