+ {% load comments %}
+ {% get_comment_count for s as c %}
+ {% ifequal c 1 %}
+ <p class="sandnotes"><a href="{{ s.get_absolute_url }}">1 comment</a></p>
+ {% else %}
+ <p class="sandnotes"><a href="{{ s.get_absolute_url }}">{{ c }} comments</a></p>
+ {% endifequal %}