path: root/Documentation/gitweb.conf.txt
diff options
authorLénaïc Huard <>2011-10-21 07:09:29 (GMT)
committerJunio C Hamano <>2011-10-21 17:18:37 (GMT)
commitc1355b7ffb6573ff7c76aef7d3bab664fb895dc8 (patch)
treedd1ee84d3d0001032d58912b98b2805605cf5661 /Documentation/gitweb.conf.txt
parent55752fa8610ebc16a1ebda2bcaf73f82142dde30 (diff)
gitweb: provide a way to customize html headers
This allows web sites to add some specific html headers to the pages generated by gitweb. The new variable $site_html_head_string can be set to an html snippet that will be inserted at the end of the <head> section of each page generated by gitweb. Signed-off-by: Lénaïc Huard <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/gitweb.conf.txt')
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt
index 4ca3e27..7aba497 100644
--- a/Documentation/gitweb.conf.txt
+++ b/Documentation/gitweb.conf.txt
@@ -364,6 +364,11 @@ $site_name::
Can be set using the `GITWEB_SITENAME` at build time. Unset by default.
+ HTML snippet to be included in the <head> section of each page.
+ Can be set using `GITWEB_SITE_HTML_HEAD_STRING` at build time.
+ No default value.
Name of a file with HTML to be included at the top of each page.
Relative to the directory containing the 'gitweb.cgi' script.