routers.packages: Simplify some existence checks

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-08-06 00:59:38 -07:00
parent bace345da4
commit 4ade8b0539
6 changed files with 48 additions and 43 deletions

View file

@ -49,7 +49,7 @@
</div>
{% endif %}
{% if comments.count() %}
{% if comments.scalar() %}
<div class="comments package-comments">
<div class="comments-header">
<h3>