about summary refs log tree commit diff
path: root/ui-summary.c
diff options
context:
space:
mode:
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;