diff options
| -rw-r--r-- | ui-shared.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c index ce806f6..0c6ca60 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | #include "ui-shared.h" | 10 | #include "ui-shared.h" |
| 11 | #include "cmd.h" | 11 | #include "cmd.h" |
| 12 | #include "html.h" | 12 | #include "html.h" |
| 13 | #include "version.h" | ||
| 13 | 14 | ||
| 14 | static const char cgit_doctype[] = | 15 | static const char cgit_doctype[] = |
| 15 | "<!DOCTYPE html>\n"; | 16 | "<!DOCTYPE html>\n"; |
| @@ -785,8 +786,8 @@ void cgit_print_docend(void) | |||
| 785 | if (ctx.cfg.footer) | 786 | if (ctx.cfg.footer) |
| 786 | html_include(ctx.cfg.footer); | 787 | html_include(ctx.cfg.footer); |
| 787 | else { | 788 | else { |
| 788 | htmlf("<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit %s</a> at ", | 789 | htmlf("<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit %s</a> " |
| 789 | cgit_version); | 790 | "(<a href='https://git-scm.com/'>git %s</a>) at ", cgit_version, git_version_string); |
| 790 | html_txt(show_date(time(NULL), 0, cgit_date_mode(DATE_ISO8601))); | 791 | html_txt(show_date(time(NULL), 0, cgit_date_mode(DATE_ISO8601))); |
| 791 | html("</div>\n"); | 792 | html("</div>\n"); |
| 792 | } | 793 | } |
