From f05a818edd9c963f17c6ec7f8d65881e2ffdc30c Mon Sep 17 00:00:00 2001 From: alyaeanyx Date: Sun, 19 Dec 2021 12:20:37 +0100 Subject: [PATCH] Don't create hrefs to u/[deleted] --- templates/comment.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/comment.html b/templates/comment.html index 7090251..db20855 100644 --- a/templates/comment.html +++ b/templates/comment.html @@ -10,7 +10,11 @@
- + {% if author.name != "[deleted]" %} + + {% else %} + u/{{ author.name }} + {% endif %} {% if author.flair.flair_parts.len() > 0 %} {% call utils::render_flair(author.flair.flair_parts) %} {% endif %}