diff options
-rw-r--r-- | ui-shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c index d909f55..f858ab6 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -496,9 +496,9 @@ void cgit_print_docend() | |||
496 | if (ctx.cfg.footer) | 496 | if (ctx.cfg.footer) |
497 | html_include(ctx.cfg.footer); | 497 | html_include(ctx.cfg.footer); |
498 | else { | 498 | else { |
499 | html("<div class='footer'>generated "); | 499 | htmlf("<div class='footer'>generated by cgit %s at ", |
500 | cgit_version); | ||
500 | cgit_print_date(time(NULL), FMT_LONGDATE, ctx.cfg.local_time); | 501 | cgit_print_date(time(NULL), FMT_LONGDATE, ctx.cfg.local_time); |
501 | htmlf(" by cgit %s", cgit_version); | ||
502 | html("</div>\n"); | 502 | html("</div>\n"); |
503 | } | 503 | } |
504 | html("</body>\n</html>\n"); | 504 | html("</body>\n</html>\n"); |