fix(User/Details): Use user variable
This commit is contained in:
parent
df0fcb886d
commit
23bb405c92
@ -2,8 +2,8 @@
|
||||
{% import "macros" as macros %}
|
||||
|
||||
{% block title %}
|
||||
{% if author.display_name %}
|
||||
{% set name = author.display_name %}
|
||||
{% if user.display_name %}
|
||||
{% set name = user.display_name %}
|
||||
{% else %}
|
||||
{% set name = user.username %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user