diff --git a/files/templates/comments.html b/files/templates/comments.html
index 1063dcfc67..29aff04abd 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -292,19 +292,19 @@
- {% if c.author.patron and not c.distinguish_level %}
-
+
+ {% if c.author.patron and not c.distinguish_level %}
+
+ {{c.author.username}}
+
+ {% elif c.distinguish_level and 'rama' in request.host %}
+
+ {{c.author.username}}
+
+ {% else %}
{{c.author.username}}
+ {% endif %}
- {% elif c.distinguish_level and 'rama' in request.host %}
-
- {{c.author.username}}
-
- {% else %}
-
- {{c.author.username}}
-
- {% endif %}
{% if c.author.customtitle %}
diff --git a/files/templates/submission.html b/files/templates/submission.html
index 3671215974..c4a1d25988 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -356,21 +356,21 @@
{% endif %}
-
+
{% if p.author.customtitle %}
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html
index 3278f7e361..f267436de1 100644
--- a/files/templates/submission_listing.html
+++ b/files/templates/submission_listing.html
@@ -112,20 +112,20 @@
{% endif %}
{% if not p.award_count('ghosts') %}
-
- {% if p.author.patron and not p.distinguish_level %}
-
+
+
+ {% if p.author.patron and not p.distinguish_level %}
+
+ {{p.author.username}}
+
+ {% elif p.distinguish_level and 'rama' in request.host %}
+
+ {{p.author.username}}
+
+ {% else %}
{{p.author.username}}
+ {% endif %}
- {% elif p.distinguish_level and 'rama' in request.host %}
-
- {{p.author.username}}
-
- {% else %}
-
- {{p.author.username}}
-
- {% endif %}
{% if p.author.customtitle %}