From: Jason A. Donenfeld Date: Wed, 19 Mar 2014 09:11:45 +0000 (-0600) Subject: footer: link back to cgit home page X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/2159414a3945f059a7e52a4900ffcd1ca665e102 footer: link back to cgit home page The footer has always been overrideable using the footer= in cgitrc, so this won't anger anybody who cares about their footer. --- diff --git a/cgit.css b/cgit.css index 71b0b9b..6888cde 100644 --- a/cgit.css +++ b/cgit.css @@ -590,6 +590,13 @@ div#cgit div.footer { font-size: 80%; color: #ccc; } +div#cgit div.footer a { + color: #ccc; + text-decoration: none; +} +div#cgit div.footer a:hover { + text-decoration: underline; +} div#cgit a.branch-deco { color: #000; margin: 0px 0.5em; diff --git a/ui-shared.c b/ui-shared.c index bd74f42..32f23f9 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -740,7 +740,7 @@ void cgit_print_docend() if (ctx.cfg.footer) html_include(ctx.cfg.footer); else { - htmlf("