26 lines
734 B
Text
26 lines
734 B
Text
|
|
# read git repo root from env or use default
|
|
our $projectroot = $ENV{'GITWEB_PROJECTROOT'};
|
|
|
|
# site name
|
|
our $site_name = "foo.sh - Public GIT repositories";
|
|
|
|
# add custom css
|
|
push @stylesheets, "/static/gitweb-local.css";
|
|
our $logo = "/static/logo.png";
|
|
our $logo_label = "https://www.foo.sh/";
|
|
|
|
# base urls
|
|
our $logo_url = "https://www.foo.sh/";
|
|
our $home_link = "https://git.foo.sh";
|
|
our $home_link_str = "https://git.foo.sh";
|
|
|
|
# avatar support
|
|
$feature{"avatar"}{"default"} = ["gravatar"];
|
|
|
|
# add support for bz2 and zip snapshots
|
|
$feature{"snapshot"}{"default"} = ["tgz", "tbz2", "zip"];
|
|
|
|
# syntax highlight (rhel8 supports detection without known extension)
|
|
$highlight_bin = "highlight";
|
|
$feature{"highlight"}{"defaut"} = [1];
|