Add support for an 'embedded' option in cgitrc

When activated, cgit will neither generate http headers nor any 'framing'
html elements (like <html> and <body>). Also, all page content is now
wrapped in a <div id='cgit'> element to make it easier to select the
correct cgit classes when embedded/themed.

Suggested-by: Matt Sealey <matt@genesi-usa.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
此提交包含在:
Lars Hjemli
2009-01-22 23:33:56 +01:00
父節點 8cc0287123
當前提交 0cbb50841a
共有 3 個檔案被更改,包括 13 行新增0 行删除

1
cgit.h
查看文件

@ -171,6 +171,7 @@ struct cgit_config {
int summary_branches;
int summary_log;
int summary_tags;
int embedded;
};
struct cgit_page {