Skip to content

Commit

Permalink
Disable comments by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yous committed Nov 3, 2017
1 parent e3f8600 commit 7a89e97
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog

## HEAD

- Disable comments by default

## 1.4.0 (2017-11-01)

- Support YAML list for keywords (Fix #7)
Expand Down
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1 class="post-title">{{ page.title | escape }}</h1>
{{ content }}
</div>

{% if site.comments != false and page.comments != false %}
{% if site.comments == true and page.comments != false %}
<div class="post-comments">
{% include custom_comments_provider.html %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
{{ content }}
</div>

{% if site.comments != false and page.comments != false %}
{% if site.comments == true and page.comments != false %}
<div class="post-comments" itemprop="comment">
{% include custom_comments_provider.html %}
</div>
Expand Down

0 comments on commit 7a89e97

Please sign in to comment.