X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/7640d90b73c01b16bb04ce4c541f52cbaae5f82a..76827d8679d1d2bd46e8cddf7da2ce4178e1d676:/cgit.c diff --git a/cgit.c b/cgit.c index 808ffe9..110face 100644 --- a/cgit.c +++ b/cgit.c @@ -8,14 +8,16 @@ #include "cgit.h" -static const char cgit_doctype[] = +const char cgit_version[] = CGIT_VERSION; + +const char cgit_doctype[] = "\n"; -static const char cgit_error[] = +const char cgit_error[] = "
%s
"; -static const char cgit_lib_error[] = +const char cgit_lib_error[] = "
%s: %s
"; int htmlfd = 0; @@ -200,6 +202,7 @@ static void cgit_print_docstart(char *title) html(""); html_txt(title); html("\n"); + htmlf("\n", cgit_version); html("\n");