summaryrefslogtreecommitdiff
path: root/gitweb/INSTALL
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 /gitweb/INSTALL
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 'gitweb/INSTALL')
-rw-r--r--gitweb/INSTALL2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitweb/INSTALL b/gitweb/INSTALL
index d134ffe..6d45406 100644
--- a/gitweb/INSTALL
+++ b/gitweb/INSTALL
@@ -130,6 +130,8 @@ You can specify the following configuration variables when building GIT:
Points to an .html file which is included on the gitweb project
overview page ('projects_list' view), if it exists. Relative to
gitweb.cgi script. [Default: indextext.html]
+ * GITWEB_SITE_HTML_HEAD_STRING
+ html snippet to include in the <head> section of each page. [No default]
* GITWEB_SITE_HEADER
Filename of html text to include at top of each page. Relative to
gitweb.cgi script. [No default]