diff --git a/tildes/tildes/templates/topic.jinja2 b/tildes/tildes/templates/topic.jinja2 index 4a06858..dc678a6 100644 --- a/tildes/tildes/templates/topic.jinja2 +++ b/tildes/tildes/templates/topic.jinja2 @@ -323,12 +323,14 @@ ({{ pluralize(comments.num_top_level, "thread") }}) -
Last comment posted
-
- - {{ adaptive_date_responsive(comments.most_recent_comment.created_time) }} - -
+ {% if comments.most_recent_comment %} +
Last comment posted
+
+ + {{ adaptive_date_responsive(comments.most_recent_comment.created_time) }} + +
+ {% endif %} {% else %}
No comments yet
{% endif %}