Skip to content

Commit 5dbab9e

Browse files
authored
Add comments to posts
1 parent 5d0bab1 commit 5dbab9e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

_layouts/post.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ <h1 class="post-title">{{ page.title }}</h1>
2828
{% endfor %}
2929
</div>
3030
</div>
31-
31+
32+
{% unless page.allow_comments == false %}
33+
{% include comments %}
34+
{% endunless %}
35+
3236
{% assign size = site.related_posts | size %}
3337
{% if size != 0 %}
3438
<div class="related">

0 commit comments

Comments
 (0)