summaryrefslogtreecommitdiff
path: root/ui-shared.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-03-19 09:11:45 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2014-12-24 02:40:14 +0000
commit2159414a3945f059a7e52a4900ffcd1ca665e102 (patch)
tree4a315c7b36fd5fad7d1a6084151a1f012bb67df1 /ui-shared.c
parentcaed6cb27f1869b0590cab56fc3394762892d049 (diff)
downloadcgit-2159414a3945f059a7e52a4900ffcd1ca665e102.tar
cgit-2159414a3945f059a7e52a4900ffcd1ca665e102.tar.gz
cgit-2159414a3945f059a7e52a4900ffcd1ca665e102.zip
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.
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
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("<div class='footer'>generated by cgit %s at ",
+ htmlf("<div class='footer'>generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit %s</a> at ",
cgit_version);
cgit_print_date(time(NULL), FMT_LONGDATE, ctx.cfg.local_time);
html("</div>\n");