diff --git a/CGI/cgi.c b/CGI/cgi.c index 36e72c0..0788d9c 100644 --- a/CGI/cgi.c +++ b/CGI/cgi.c @@ -145,6 +145,10 @@ void kn_cgi(void) { printf("\n"); } printf("
\n"); +#ifdef FOOTER_HTML + printf("%s\n", FOOTER_HTML); + printf("
\n"); +#endif printf(" Generated by Keine %s\n", kn_get_version()); printf(" \n"); printf("\n"); diff --git a/config.h.tmpl b/config.h.tmpl index 9624415..6653292 100644 --- a/config.h.tmpl +++ b/config.h.tmpl @@ -9,6 +9,9 @@ /* Manual page root */ #define MANPAGE_DIR "/usr/share/man" +/* Footer, comment it for no footer */ +#define FOOTER_HTML "some footer" + #endif /*