From 186a8fd764a66223455e1633541db07494920f58 Mon Sep 17 00:00:00 2001 From: Amolith Date: Sat, 18 Oct 2025 12:29:55 -0600 Subject: [PATCH] feat(web/commit): use name@hash format in title Change commit page title from 'subject | Commit hash | name' to 'subject | name@hash' for consistency with git conventions. Implements: bug-4758ff9 Co-authored-by: Crush --- pkg/web/webui_commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/web/webui_commit.go b/pkg/web/webui_commit.go index 4a63672a8bea57df73eb5900efbfad63ae197ad2..cafe19797493b4f6706018667ac55e5459dd3bbf 100644 --- a/pkg/web/webui_commit.go +++ b/pkg/web/webui_commit.go @@ -85,7 +85,7 @@ func repoCommit(w http.ResponseWriter, r *http.Request) { BaseData: BaseData{ ServerName: cfg.Name, ActiveTab: "commits", - Title: commitSubject + " | Commit " + shortHash + " | " + repoDisplayName, + Title: commitSubject + " | " + repoDisplayName + "@" + shortHash, Description: commitBody, }, Repo: repo,