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 --- t/gitweb-lib.sh | 1 + 1 file changed, 1 insertion(+) (limited to 't/gitweb-lib.sh') diff --git a/t/gitweb-lib.sh b/t/gitweb-lib.sh index 292753f77c..21d11d6c2d 100644 --- a/t/gitweb-lib.sh +++ b/t/gitweb-lib.sh @@ -16,6 +16,7 @@ our \$projectroot = "$safe_pwd"; our \$project_maxdepth = 8; our \$home_link_str = 'projects'; our \$site_name = '[localhost]'; +our \$site_html_head_string = ''; our \$site_header = ''; our \$site_footer = ''; our \$home_text = 'indextext.html'; -- cgit v1.3