From ef589a829e5e1445f73bf88154b31e54d3601cd0 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 6 Sep 2021 17:31:04 +0000 Subject: Show about path in page title --- www/git.causal.agency/cgit/ui-summary.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www') diff --git a/www/git.causal.agency/cgit/ui-summary.c b/www/git.causal.agency/cgit/ui-summary.c index 947812a8..df7f739a 100644 --- a/www/git.causal.agency/cgit/ui-summary.c +++ b/www/git.causal.agency/cgit/ui-summary.c @@ -114,6 +114,9 @@ void cgit_print_repo_readme(const char *path) } free(mimetype); + if (path) + ctx.page.title = fmtalloc("%s - %s", path, ctx.page.title); + cgit_print_layout_start(); if (ctx.repo->readme.nr == 0) goto done; -- cgit 1.4.1 57af6'>this commit dontfiles
summary refs log tree commit diff
path: root/www/photo.causal.agency/0063/lens (unfollow)
Commit message (Collapse)Author
8 hoursAdd all the numbered roll metadataJune McEnroe
8 hoursAdd ability to put a note on a rollJune McEnroe