Skip to content

Commit 28d9584

Browse files
committed
refactor(layout): remove comments functionality from post layout
1 parent 22258d4 commit 28d9584

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

_layouts/post.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,5 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
4545
{{ content }}
4646
</div>
4747

48-
{% if jekyll.environment == 'production' -%}
49-
{% if page.comments == false -%}
50-
<div class="comments-disabled-message">
51-
Comments have been disabled for this post.
52-
</div>
53-
{% else -%}
54-
{%- include comments.html -%}
55-
{% endif -%}
56-
{% endif -%}
57-
5848
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
5949
</article>

0 commit comments

Comments
 (0)