Skip to content

Commit 96736fe

Browse files
committed
Skip zeros in visitors column
1 parent 3a6919b commit 96736fe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

template.html.jinja

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@
3131
{% endif %}
3232
</td>
3333
<td data-label="visitors">
34-
{% if project.built %}
34+
{% if project.visitors %}
3535
<a href="https://plausible.io/docs.python.org?filters=((contains,page,(/{{ project.language.code }}/)))" target="_blank">
3636
{{ '{:,}'.format(project.visitors) }}
3737
</a>
38-
{% else %}
39-
{{ '{:,}'.format(project.visitors) }}
4038
{% endif %}
4139
</td>
4240
<td data-label="translators">

0 commit comments

Comments
 (0)