summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgit.css9
-rw-r--r--ui-shared.c4
2 files changed, 12 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 3579598..382964a 100644
--- a/cgit.css
+++ b/cgit.css
@@ -15,2 +15,10 @@ h2 {
+a {
+ color: blue;
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
@@ -48,3 +56,2 @@ div#header {
}
-
div#header img#logo {
diff --git a/ui-shared.c b/ui-shared.c
index 1a6c127..9ec4be8 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -106,3 +106,7 @@ void cgit_print_pageheader(char *title)
htmlf("</a>");
+ if (cgit_query_repo)
+ htmlf("<a href='%s'>", cgit_repourl(cgit_query_repo));
html_txt(title);
+ if (cgit_query_repo)
+ html("</a>");
html("</div>");