diff --git a/files/templates/comments.html b/files/templates/comments.html
index ecce39521..fea01d001 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -72,9 +72,9 @@
{% if standalone and level==1 %}
- {% if c.post and c.post.over_18 %}+18{% endif %}
+ {% if c.parent_submissionand c.post.over_18 %}+18{% endif %}
- {% if c.post %}
+ {% if c.parent_submission%}
{% if c.author_id==v.id and replies and is_notification_page%}
Comment {{'Replies' if (replies | length)>1 else 'Reply'}}: {{c.post.realtitle(v) | safe}}
{% elif c.post.author_id==v.id and c.level == 1 and is_notification_page%}
@@ -126,7 +126,7 @@
{% endfor %}
- {% if c.post %}
+ {% if c.parent_submission%}
{% set sub = c.post.sub %}
{% if sub and c.author.exiled_from(sub) %}
@@ -455,7 +455,7 @@
{% endif %}
-{% if c.post %}
+{% if c.parent_submission%}
{% set url = "" %}
{% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
@@ -479,7 +479,7 @@
{% endif %}
-{% if c.post %}
+{% if c.parent_submission%}
{% set sub = c.post.sub %}
{% if sub and v.mods(sub) and not c.author.mods(sub) %}
@@ -658,7 +658,7 @@
{% endif %}
{% if v.admin_level < PERMS['POST_COMMENT_MODERATION'] %}
- {% if c.post and v.id == c.post.author_id %}
+ {% if c.parent_submissionand v.id == c.post.author_id %}
{% elif c.post.sub and v.mods(c.post.sub) %}
@@ -667,7 +667,7 @@
{% endif %}
{% endif %}
- {% if c.post %}
+ {% if c.parent_submission%}
{% set sub = c.post.sub %}
{% if sub and v.mods(sub) and not c.author.mods(sub) %}