diff --git a/templates/macros.html.tera b/templates/macros.html.tera
index 49432656..900f96c3 100644
--- a/templates/macros.html.tera
+++ b/templates/macros.html.tera
@@ -1,7 +1,12 @@
{% macro post_card(article) %}
+{% if article.author.display_name %}
+ {% set name = article.author.display_name %}
+{% else %}
+ {% set name = article.author.username %}
+{% endif %}
{% endmacro post_card %}
diff --git a/templates/posts/details.html.tera b/templates/posts/details.html.tera
index 1935da0c..13e3e5ab 100644
--- a/templates/posts/details.html.tera
+++ b/templates/posts/details.html.tera
@@ -55,12 +55,12 @@
{% for comment in comments %}
{% if comment.author.display_name %}
- {% set commentAuthorName = comment.author.display_name %}
+ {% set comment_author_name = comment.author.display_name %}
{% else %}
- {% set commentAuthorName = comment.author.username %}
+ {% set comment_author_name = comment.author.username %}
{% endif %}
diff --git a/templates/users/details.html.tera b/templates/users/details.html.tera
index d225a300..1eb6325d 100644
--- a/templates/users/details.html.tera
+++ b/templates/users/details.html.tera
@@ -2,13 +2,17 @@
{% import "macros" as macros %}
{% block title %}
-{{ user.display_name }}
+{% if author.display_name %}
+ {% set name = author.display_name %}
+{% else %}
+ {% set name = user.username %}
+{% endif %}
{% endblock title %}
{% block content %}
- {{ user.display_name }}
+ {{ name }}
{% if user.is_admin %}
Admin
{% endif %}
diff --git a/templates/users/followers.html.tera b/templates/users/followers.html.tera
index 5d6a956e..9b0bdf28 100644
--- a/templates/users/followers.html.tera
+++ b/templates/users/followers.html.tera
@@ -1,13 +1,19 @@
{% extends "base" %}
{% block title %}
-{{ user.display_name }}'s Followers
+{% if user.display_name %}
+ {% set name = user.display_name %}
+{% else %}
+ {% set name = user.username %}
+{% endif %}
+
+{{ name }}'s Followers
{% endblock title %}
{% block content %}
- {{ user.display_name }}
+ {{ name }}
{% if user.is_admin %}
Admin
{% endif %}
@@ -21,8 +27,13 @@
Followers
{% for follower in followers %}
+ {% if follower.display_name %}
+ {% set follower_name = follower.display_name %}
+ {% else %}
+ {% set follower_name = follower.username %}
+ {% endif %}
-
+
{{ follower.summary | safe }}
{% endfor %}