diff --git a/games/templates/stats.html b/games/templates/stats.html
index 53e1727..dd43095 100644
--- a/games/templates/stats.html
+++ b/games/templates/stats.html
@@ -62,36 +62,46 @@
Finished ({{ year }}) |
{{ this_year_finished_this_year_count }} |
-
- | Longest session |
-
- {{ longest_session_time }} ()
- |
-
-
- | Most sessions |
-
- {{ highest_session_count }} ()
- |
-
-
- | Highest session average |
-
- {{ highest_session_average }} ()
- |
-
-
- | First play |
-
- ({{ first_play_date }})
- |
-
-
- | Last play |
-
- ({{ last_play_date }})
- |
-
+ {% if longest_session_game.id %}
+
+ | Longest session |
+
+ {{ longest_session_time }} ()
+ |
+
+ {% endif %}
+ {% if highest_session_count_game.id %}
+
+ | Most sessions |
+
+ {{ highest_session_count }} ()
+ |
+
+ {% endif %}
+ {% if highest_session_average_game.id %}
+
+ | Highest session average |
+
+ {{ highest_session_average }} ()
+ |
+
+ {% endif %}
+ {% if first_play_game.id %}
+
+ | First play |
+
+ ({{ first_play_date }})
+ |
+
+ {% endif %}
+ {% if last_play_game.id %}
+
+ | Last play |
+
+ ({{ last_play_date }})
+ |
+
+ {% endif %}
{% if month_playtime %}