From 0cbb50841ac82e08e715bbff614f96c7d5ba22fa Mon Sep 17 00:00:00 2001
From: Lars Hjemli
Date: Thu, 22 Jan 2009 23:33:56 +0100
Subject: Add support for an 'embedded' option in cgitrc
When activated, cgit will neither generate http headers nor any 'framing'
html elements (like and
). Also, all page content is now
wrapped in a element to make it easier to select the
correct cgit classes when embedded/themed.
Suggested-by: Matt Sealey
Signed-off-by: Lars Hjemli
---
cgit.h | 1 +
1 file changed, 1 insertion(+)
(limited to 'cgit.h')
diff --git a/cgit.h b/cgit.h
index 5f7af51..73d7208 100644
--- a/cgit.h
+++ b/cgit.h
@@ -171,6 +171,7 @@ struct cgit_config {
int summary_branches;
int summary_log;
int summary_tags;
+ int embedded;
};
struct cgit_page {
--
cgit v1.2.3-70-g09d2