From c1355b7ffb6573ff7c76aef7d3bab664fb895dc8 Mon Sep 17 00:00:00 2001 From: Lénaïc Huard Date: Fri, 21 Oct 2011 09:09:29 +0200 Subject: gitweb: provide a way to customize html headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 section of each page generated by gitweb. Signed-off-by: Lénaïc Huard Signed-off-by: Junio C Hamano --- gitweb/INSTALL | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gitweb/INSTALL') 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 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] -- cgit v1.3