patx/gitman

swap error in logic on profile

Commit a3bc700 · patx · 2026-05-05T21:25:08-04:00

Changeset
a3bc700937b9711b9aa1268657e40f87b0e6c4a0
Parents
9e8ca49bcdea97debef797ebbba6192b18850b17

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/templates/profile.tpl b/templates/profile.tpl
index c76757b..31f7eb3 100644
--- a/templates/profile.tpl
+++ b/templates/profile.tpl
@@ -4,9 +4,9 @@
 <section class="profile-header">
   <h1>
   % if not profile_user["display_name"]:
-    {{profile_name}} <small>(@{{profile_user["username"]}})</small>
-  % else:
     {{profile_name}}
+  % else:
+    {{profile_name}} <small>(@{{profile_user["username"]}})</small>
   % end
   </h1>
   <p class="muted"><small>