about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-05-19 00:00:25 +0200
committerLars Hjemli <hjemli@gmail.com>2007-05-19 00:00:25 +0200
commitde69ce020c4ccd7146d6ac72bbd8f417088e8c03 (patch)
tree38abaae795c5465f8086ed325b4a6587de76268e /cgit.h
parentAdd html_include() (diff)
downloadcgit-pink-de69ce020c4ccd7146d6ac72bbd8f417088e8c03.tar.gz
cgit-pink-de69ce020c4ccd7146d6ac72bbd8f417088e8c03.zip
Teach cgit howto include an external file on index page.
The new parameter index-header can be used to name an external file
which will be included verbatim at the top of the index page.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index fc44a71..3ee11bb 100644
--- a/cgit.h
+++ b/cgit.h
@@ -75,6 +75,7 @@ extern struct repoinfo *cgit_repo;
 extern char *cgit_root_title;
 extern char *cgit_css;
 extern char *cgit_logo;
+extern char *cgit_index_header;
 extern char *cgit_logo_link;
 extern char *cgit_module_link;
 extern char *cgit_virtual_root;