summaryrefslogtreecommitdiffstatshomepage
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli2009-07-25 12:19:31 +0200
committerLars Hjemli2009-07-25 12:19:31 +0200
commitef0c6aadf70e33ef63f0a68ca16338a49d0a3f1f (patch)
tree4115c32dc27aa18840dda2c940ca10b4a7d0cf86 /cgit.h
parent0cbb50841ac82e08e715bbff614f96c7d5ba22fa (diff)
downloadcgit-ef0c6aadf70e33ef63f0a68ca16338a49d0a3f1f.tar
cgit-ef0c6aadf70e33ef63f0a68ca16338a49d0a3f1f.tar.gz
cgit-ef0c6aadf70e33ef63f0a68ca16338a49d0a3f1f.zip
Add support for 'noheader' option
This option can be used to disable the standard cgit page header, which might be useful in combination with the 'embedded' option. Suggested-by: Mark Constable <markc@renta.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 73d7208..1056231 100644
--- a/cgit.h
+++ b/cgit.h
@@ -172,6 +172,7 @@ struct cgit_config {
int summary_log;
int summary_tags;
int embedded;
+ int noheader;
};
struct cgit_page {