Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/asurbernardo/amperage.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post/comments.html')
-rw-r--r--layouts/partials/post/comments.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post/comments.html b/layouts/partials/post/comments.html
index 62c2559..c036b6e 100644
--- a/layouts/partials/post/comments.html
+++ b/layouts/partials/post/comments.html
@@ -1,4 +1,4 @@
-{{ if isset .Site.Params "commentsembedurl" }}
+{{ if and (isset $.Site.Params "commentsembedurl") (ne $.Page.Params.commentsDisabled true) }}
<amp-iframe width=600 height=180
layout="responsive"
sandbox="allow-scripts allow-same-origin allow-modals allow-popups allow-forms"