We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5640349 commit 617f9c7Copy full SHA for 617f9c7
_config.yml
@@ -76,6 +76,7 @@ defaults:
76
type: posts
77
values:
78
comments: true
79
+ lock_comments: false
80
- scope:
81
path: tags
82
_includes/comments.html
@@ -19,13 +19,17 @@ <h2>Comments</h2>
19
</div>
20
{% endif %}
21
22
+ {% if page.lock_comments != true %}
23
<!-- New comment form -->
24
<div id="respond" class="comment__new">
25
{% include comment_form.html %}
26
27
+ {% endif %}
28
</section>
29
30
+{% if page.lock_comments != true %}
31
<script src="{{ '/assets/main.js' | relative_url }}"></script>
32
{% if site.reCaptcha.enabled %}
33
<script src="https://www.google.com/recaptcha/api.js"></script>
34
35
+{% endif %}
0 commit comments