neddit

the frontend of the frontpage of the internet  https://neddit.ce9e.org
git clone https://git.ce9e.org/neddit.git

commit
18403bce1daa5ea2fa192c8e23a30681d4267b09
parent
d3729210d42b564168c78ebb0bea8325df05e604
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-11-08 08:50
skip active_user_count if not available

Diffstat

M templates/base.html 4 +++-

1 files changed, 3 insertions, 1 deletions


diff --git a/templates/base.html b/templates/base.html

@@ -25,7 +25,9 @@
   25    25 			{{ subreddit.data.public_description_html|safe }}
   26    26 			<footer>
   27    27 				<span>{{ subreddit.data.subscribers|k }} Members</span>
   28    -1 				<span>{{ subreddit.data.active_user_count|k }} Online</span>
   -1    28 				{% if subreddit.data.active_user_count %}
   -1    29 					<span>{{ subreddit.data.active_user_count|k }} Online</span>
   -1    30 				{% endif %}
   29    31 				<span>Created {{ subreddit.data.created_utc|dt }}</span>
   30    32 			</footer>
   31    33 		</header>