patx/gitman

update profile ux further for a better look

Commit d620066 · patx · 2026-05-05T21:18:57-04:00

Changeset
d6200662533078e6a17e87994fb0254f9d99778f
Parents
1b9c97a4363241ebc3dd222b5243854e2cb95b79

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 f47de2f..6eecfa6 100644
--- a/templates/profile.tpl
+++ b/templates/profile.tpl
@@ -2,10 +2,13 @@
 % rebase("base.tpl", title=profile_name, user=user, error=error, notice=notice)
 
 <section class="profile-header">
-  <h1>{{profile_name}}</h1>
+  <h1>
+    {{profile_name}}
   % if profile_user["display_name"]:
-    <p class="muted">@{{profile_user["username"]}}</p>
+    <div class="muted">@{{profile_user["username"]}}</div>
   % end
+  </h1>
+
   % if profile_user["bio"]:
     <p>{{!render_markdown_links(profile_user["bio"])}}</p>
   % else: