about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-06 17:31:04 +0000
committerJune McEnroe <june@causal.agency>2022-02-13 12:14:06 -0500
commit03519c7bc48bb58dc0c129f9e45c0e784f775bbb (patch)
tree208ba5259651d877b08f42aef8ae37400cbeeb84
parentGenerate valid Atom feeds (diff)
downloadcgit-pink-03519c7bc48bb58dc0c129f9e45c0e784f775bbb.tar.gz
cgit-pink-03519c7bc48bb58dc0c129f9e45c0e784f775bbb.zip
Show about path in page title
Diffstat (limited to '')
-rw-r--r--ui-summary.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui-summary.c b/ui-summary.c
index 947812a..df7f739 100644
--- a/ui-summary.c
+++ b/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;
=3.3.3p1&id=0e138b6a3d3fb41c5915ddf1b327fc6f28e074a6&follow=1'>Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe