From 03e4898421c2265fc88f5c3b721f238650d55a69 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 13 Aug 2019 19:38:42 +0300 Subject: [PATCH] remark42: check is comments enabled --- layouts/partials/footer_custom.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/footer_custom.html b/layouts/partials/footer_custom.html index d11b994..ad50e00 100644 --- a/layouts/partials/footer_custom.html +++ b/layouts/partials/footer_custom.html @@ -1,3 +1,4 @@ +{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Type "page"))) }} {{ if or (eq (substr .RelPermalink 0 6) "/post/") (eq (substr .RelPermalink 0 6) "/page/") }} {{ end }} +{{ end }} \ No newline at end of file