diff options
author | Lénaïc Huard <lenaic@lhuard.fr.eu.org> | 2011-10-21 11:09:29 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-21 21:18:37 +0400 |
commit | c1355b7ffb6573ff7c76aef7d3bab664fb895dc8 (patch) | |
tree | dd1ee84d3d0001032d58912b98b2805605cf5661 /Documentation | |
parent | 55752fa8610ebc16a1ebda2bcaf73f82142dde30 (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 <lenaic@lhuard.fr.eu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/gitweb.conf.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt index 4ca3e27dc9..7aba497b74 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. +$site_html_head_string:: + 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. + $site_header:: Name of a file with HTML to be included at the top of each page. Relative to the directory containing the 'gitweb.cgi' script. |