Make gitweb header consistent with the site header
[girocco/mytab.git] / gitweb_config.perl
blob75afd89ad16e575726cf54f47c26a99dd8a8472b
1 ## core git executable to use
2 ## this can just be "git" if your webserver has a sensible PATH
3 #our $GIT = "/home/pasky/bin/git";
5 ## absolute fs-path which will be prepended to the project path
6 ##our $projectroot = "/pub/scm";
7 #our $projectroot = "/srv/git";
9 ## target of the home link on top of all pages
10 #our $home_link = $my_uri || "/";
11 our $home_link = "/";
13 ## string of the home link on top of all pages
14 #our $home_link_str = "projects";
15 our $home_link_str = "repo.or.cz";
17 ## name of your site or organization to appear in page titles
18 ## replace this with something more descriptive for clearer bookmarks
19 #our $site_name = "" || $ENV{'SERVER_NAME'} || "Untitled";
20 our $site_name = "Public Gitweb Hosting";
22 ## html text to include at home page
23 #our $home_text = "indextext.html";
25 ## URI of default stylesheet
26 #our $stylesheet = "gitweb.css";
27 our $stylesheet = "/gitweb.css";
28 ## URI of GIT logo
29 #our $logo = "git-logo.png";
30 our $logo = "/git-logo.png";
31 ## URI of GIT favicon, assumed to be image/png type
32 #our $favicon = "git-favicon.png";
33 our $favicon = "/git-favicon.png";
35 ## source of projects list
36 #our $projects_list = "";
38 ## show repository only if this file exists
39 ## (only effective if this variable evaluates to true)
40 #our $export_ok = "";
42 ## only allow viewing of repositories also shown on the overview page
43 #our $strict_export = "";
45 ## list of git base URLs used for URL to where fetch project from,
46 ## i.e. full URL is "$git_base_url/$project"
47 our @git_base_url_list = ("git://repo.or.cz", "http://repo.or.cz/r");
49 ## default blob_plain mimetype and default charset for text/plain blob
50 #our $default_blob_plain_mimetype = 'text/plain';
51 #our $default_text_plain_charset = undef;
53 ## file to use for guessing MIME types before trying /etc/mime.types
54 ## (relative to the current git repository)
55 #our $mimetypes_file = undef;
57 ## You define site-wide feature defaults here; override them with
58 ## $GITWEB_CONFIG as necessary.
59 #our %feature = (
60 # # feature => {
61 # # 'sub' => feature-sub (subroutine),
62 # # 'override' => allow-override (boolean),
63 # # 'default' => [ default options...] (array reference)}
64 # #
65 # # if feature is overridable (it means that allow-override has true value,
66 # # then feature-sub will be called with default options as parameters;
67 # # return value of feature-sub indicates if to enable specified feature
68 # #
69 # # use gitweb_check_feature(<feature>) to check if <feature> is enabled
71 # 'blame' => {
72 # 'sub' => \&feature_blame,
73 # 'override' => 0,
74 # 'default' => [0]},
76 # 'snapshot' => {
77 # 'sub' => \&feature_snapshot,
78 # 'override' => 0,
79 # # => [content-encoding, suffix, program]
80 # 'default' => ['x-gzip', 'gz', 'gzip']},
82 # 'pickaxe' => {
83 # 'sub' => \&feature_pickaxe,
84 # 'override' => 0,
85 # 'default' => [1]},
86 #);
87 $feature{'blame'}{'default'} = [1];
88 $feature{'pathinfo'}{'default'} = [1];
89 $my_uri = 'http://repo.or.cz/w';