summary refs log tree commit diff
path: root/www/git.causal.agency/cgit
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-21 08:07:50 +0000
committerJune McEnroe <june@causal.agency>2020-12-27 19:59:50 -0500
commit1e218f140824fdf60b278a8c11fd7031e6fc1aa3 (patch)
tree146d7a40b2da7c5da311381822f16636bcbf80a7 /www/git.causal.agency/cgit
parentShow symlink targets in tree listing (diff)
downloadsrc-1e218f140824fdf60b278a8c11fd7031e6fc1aa3.tar.gz
src-1e218f140824fdf60b278a8c11fd7031e6fc1aa3.zip
Show subject in commit page title
Diffstat (limited to '')
-rw-r--r--www/git.causal.agency/cgit/ui-commit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/git.causal.agency/cgit/ui-commit.c b/www/git.causal.agency/cgit/ui-commit.c
index 783211ff..7e6b5a06 100644
--- a/www/git.causal.agency/cgit/ui-commit.c
+++ b/www/git.causal.agency/cgit/ui-commit.c
@@ -43,6 +43,7 @@ void cgit_print_commit(char *hex, const char *prefix)
 
 	load_ref_decorations(NULL, DECORATE_FULL_REFS);
 
+	ctx.page.title = fmtalloc("%s - %s", info->subject, ctx.page.title);
 	cgit_print_layout_start();
 	cgit_print_diff_ctrls();
 	html("<table summary='commit info' class='commit-info'>\n");
f='/src/commit/www/photo.causal.agency/y-d/lens?id=daa1daf0d2ed784597a538dde36fbd9a04ca6a24&follow=1'>Add y-d templateJune McEnroe 2026-03-23Replace tmppath pledge with rpath wpath cpathJune McEnroe 2026-03-23Add -ll for hilexJune McEnroe huh. should have always been there I guess, but now it actually matters, at least on OpenBSD? 2026-02-17Remove photo metadata directoriesJune McEnroe 2026-02-17Ignore photo metadataJune McEnroe I just don't want to be adding all this stuff to git. 2026-02-16Populate films datalist with 20 most recently usedJune McEnroe 2026-02-16Select last used bodyJune McEnroe 2026-02-15Don't break on trip with removed bodyJune McEnroe 2026-02-11Keep manpath.conf sortedJune McEnroe