check if subscribers exist

This commit is contained in:
teddit 2020-11-29 22:33:35 +01:00
parent 5e33387e5b
commit c9e1ae94b7
1 changed files with 11 additions and 10 deletions

View File

@ -118,6 +118,7 @@ html
input(type="checkbox", name="nsfw", id="nsfw", checked="checked")
input(type="submit", value="search")
if sidebar_data
if sidebar_data.subscribers
.content
p subscribers: #{sidebar_data.subscribers.toLocaleString()}
p users here right now: #{sidebar_data.active_user_count.toLocaleString()}