Skip to content

Commit

Permalink
Remove all comments related html when no comments allowed.
Browse files Browse the repository at this point in the history
Remove all comments related html when no comments allowed.
  • Loading branch information
JQ authored and JQ committed May 11, 2016
2 parents eba60f3 + 9ea9b5d commit 19276b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/pages/single.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{post.content}}
</div>
</section>

{% if post.comment_status != 'closed' %}
<section class="comments">
<div class="respond">
<h3 class="h2">Comments</h3>
Expand All @@ -28,7 +28,7 @@
</div>

</section>

{% endif %}
</article>
</div> <!-- /content-wrapper -->

Expand Down

0 comments on commit 19276b6

Please sign in to comment.