summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLénaïc Huard <lenaic@lhuard.fr.eu.org>2011-10-21 07:09:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-10-21 17:18:37 (GMT)
commitc1355b7ffb6573ff7c76aef7d3bab664fb895dc8 (patch)
treedd1ee84d3d0001032d58912b98b2805605cf5661 /Documentation
parent55752fa8610ebc16a1ebda2bcaf73f82142dde30 (diff)
downloadgit-c1355b7ffb6573ff7c76aef7d3bab664fb895dc8.zip
git-c1355b7ffb6573ff7c76aef7d3bab664fb895dc8.tar.gz
git-c1355b7ffb6573ff7c76aef7d3bab664fb895dc8.tar.bz2
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.txt5
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.
+$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.