From 3e553102fc3e23e4ebedc92f7de077360c770ef2 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Thu, 7 Dec 2017 14:24:06 -0500 Subject: [PATCH] Using type=page for comments too --- 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 5ade67e..0862274 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -22,7 +22,7 @@ {{ end }} - {{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (.Site.Params.comments)) }} + {{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Params.type "page"))) }} {{ if .Site.DisqusShortname }}
{{ template "_internal/disqus.html" . }}