author | Alan Chandler <alan@chandlerfamily.org.uk> | |
Tue, 3 Oct 2006 12:49:03 +0000 (13:49 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 4 Oct 2006 22:00:49 +0000 (15:00 -0700) | ||
commit | b2d3476e15cefdbd94366d4cf46fd05c1623034f | |
tree | ffbf3517ba233d707e9de9bf67bfca2c43909135 | tree | snapshot |
parent | c8aeaaf7fc7dd93a284218e6a2b6e96b90e3100c | commit | diff |
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 <alan@chandlerfamily.org.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 <alan@chandlerfamily.org.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
gitweb/gitweb.perl | diff | blob | history |