]> Lady’s Gitweb - Gitweb/commit
Gitweb - provide site headers and footers
authorAlan Chandler <redacted>
Tue, 3 Oct 2006 12:49:03 +0000 (13:49 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
commit95af4aae7a7fae922b6d2c8f596c855073d582492a75399e4248e7d863ba46b5
treed8df850d71deaad0b9c5bcdca87700453363274c7d2300c7559c3fd323efe668
parentc11e54c21cf323062b40a81e54c877184dfde046baa88209728fece5d291ea29
Gitweb - provide site headers and footers

This allows web sites with a header and footer standard for each page
to add them to the pages produced by gitweb.

Two new variables $site_header and $site_footer are defined (default
to null) each of which can specify a file containing the header and
footer html.

In addition, if the $stylesheet variable is undefined, a new array
@stylesheets (which defaults to a single element of gitweb.css) can be
used to specify more than one style sheet.  This allows the clasical
gitweb.css styles to be retained, but a site wide style sheet used
within the header and footer areas.

Signed-off-by: Alan Chandler <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.258583 seconds and 4 git commands to generate.