summaryrefslogtreecommitdiff
path: root/gitweb/INSTALL
diff options
context:
space:
mode:
authorLibravatar Lénaïc Huard <lenaic@lhuard.fr.eu.org>2011-10-21 09:09:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-21 10:18:37 -0700
commitc1355b7ffb6573ff7c76aef7d3bab664fb895dc8 (patch)
treedd1ee84d3d0001032d58912b98b2805605cf5661 /gitweb/INSTALL
parentgitweb: Add gitweb manpages to 'gitweb' package in git.spec (diff)
downloadtgif-c1355b7ffb6573ff7c76aef7d3bab664fb895dc8.tar.xz
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 d134ffe4c7..6d45406797 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]