From ccb9b64bb7126286608245a2cf0ae071cf7836b9 Mon Sep 17 00:00:00 2001 From: indes Date: Sat, 21 Apr 2018 09:34:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E6=88=90disqus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/single.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c70448d..03a9d28 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -28,5 +28,24 @@ {{ end }} + {{ if not (eq .Params.comments false) }} + {{ if .Site.DisqusShortname }} +
+ + + + + + {{ end }} + {{ end }} {{ partial "footer.html" . }}