aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-03-19 03:11:45 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2014-03-19 03:11:45 -0600
commitbc99809b8d1a64b5eca59ddf7b164352eb347af2 (patch)
tree0437c23b1979834505c14d194acf296ac4157b2d /ui-shared.c
parente22e985416929adb735bd952db00fce82d883914 (diff)
footer: link back to cgit home pagejd/link-back
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 1ede2b0..ba173f4 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -719,7 +719,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");