Skip to content

Commit b9646fe

Browse files
committed
Enable comments by default
1 parent d3852a3 commit b9646fe

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

_includes/disqus.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{% if site.disqus_short_name and page.comments != false %}
33
<script type="text/javascript">
44
var disqus_shortname = '{{ site.disqus_short_name }}';
5-
{% if page.comments == true %}
5+
{% if page.comments != false %}
66
{% comment %} `page.comments` can be only be set to true on pages/posts, so we embed the comments here. {% endcomment %}
77
// var disqus_developer = 1;
88
var disqus_identifier = '{{ site.url }}{{ page.url }}';

_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% include article.html %}
99
</article>
1010
</div>
11-
{% if site.disqus_short_name and page.comments == true %}
11+
{% if site.disqus_short_name and page.comments != false %}
1212
<section id="comment">
1313
<h1 class="title">Comments</h1>
1414
<div id="disqus_thread" aria-live="polite">{% include disqus_thread.html %}</div>

elisp/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: page
33
title: Emacs Lisp 简明教程
4+
comments: false
45
---
56

67
> 这是[叶文彬(水木ID: happierbee)](http://www.wenb.in/)写的一份Emacs Lisp的教程, 深入浅出, 非常适合初学者.

faq/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
layout: page
33
title: 水木社区Emacs版FAQ
4-
comments: true
54
---
65

76
## General

index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: page
3+
comments: false
34
---
45

56
- [FAQ](./faq)

0 commit comments

Comments
 (0)