From b3a675168d201a58c3b66777210e5a72b7c965b7 Mon Sep 17 00:00:00 2001 From: Lee Date: Sat, 5 May 2018 01:57:25 +0800 Subject: [PATCH] :art: add disqus support --- layouts/_default/single.html | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3076acc..0c1f775 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -18,6 +18,25 @@ {{ end }} - + + {{ if not (eq .Params.comments false) }} + {{ if .Site.DisqusShortname }} +
+ + + + {{ end }} + {{ end }} {{ partial "footer.html" . }}