Merge branch 'ml/head-include'
Lars Hjemli hjemli@gmail.com
Sat, 25 Jul 2009 12:04:08 +0200
4 files changed,
10 insertions(+),
1 deletions(-)
M
cgit.c
→
cgit.c
@@ -31,6 +31,8 @@ else if (!strcmp(name, "favicon"))
ctx.cfg.favicon = xstrdup(value); else if (!strcmp(name, "footer")) ctx.cfg.footer = xstrdup(value); + else if (!strcmp(name, "head-include")) + ctx.cfg.head_include = xstrdup(value); else if (!strcmp(name, "header")) ctx.cfg.header = xstrdup(value); else if (!strcmp(name, "logo"))
M
cgitrc.5.txt
→
cgitrc.5.txt
@@ -84,6 +84,10 @@ The content of the file specified with this option will be included
verbatim at the bottom of all pages (i.e. it replaces the standard "generated by..." message. Default value: none. +head-include:: + The content of the file specified with this option will be included + verbatim in the html HEAD section on all pages. Default value: none. + header:: The content of the file specified with this option will be included verbatim at the top of all pages. Default value: none.