From 72437b38834d69f99f83c31d61cd4923666ef476 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Sat, 20 Jun 2015 17:23:03 +0200 Subject: [PATCH] Changed insertation of disqus based on shortname --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 54f10ae..9bc6709 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -29,7 +29,7 @@ - {{ if gt (len .Site.Params.disqusShortname) 0 }} + {{ if isset .Site.Params "disqusShortname" }} {{ partial "disqus.html" . }} {{ end }}