I'm trying to only output the heading "Comments" when there are actually comments for a blog post.
Here's what I have:
{if total_comments >= 1}<h3>Comments</h3>{/if}
{exp:comment:entries sort="asc" limit="20"}
<div class="text-block">
<p>{comment}</p>
<p id="author">By {name} on {current_time format="%F %d %Y"}</p>
<hr>
</div>
{/exp:comment:entries}
Any help is much appreciated!