mirror of https://github.com/perkeep/perkeep.git
website: make gitweb header match rest of site
This commit is contained in:
parent
d4b274c08c
commit
b8e87bda66
|
@ -196,6 +196,7 @@ func main() {
|
|||
if *gitwebScript != "" {
|
||||
env := os.Environ()
|
||||
env = append(env, "GITWEB_CONFIG="+path.Join(*root, "gitweb-camli.conf"))
|
||||
env = append(env, "CAMWEB_ROOT="+path.Join(*root))
|
||||
mux.Handle("/code/", &gitwebHandler{
|
||||
Cgi: &CgiHandler{
|
||||
ExecutablePath: *gitwebScript,
|
||||
|
|
|
@ -27,7 +27,7 @@ $favicon = "/code/git-favicon.png";
|
|||
|
||||
$site_name = "Camlistore Git";
|
||||
|
||||
$site_header = "<h1>HEADER</h1>";
|
||||
$site_header = "$ENV{CAMWEB_ROOT}/tmpl/githeader.html";
|
||||
|
||||
$home_link_str = "camlistore";
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
<link rel="stylesheet" href="/static/all.css" type="text/css" media="all" charset="utf-8" />
|
||||
|
||||
<div id='header'>
|
||||
<a href="/"><img width='788' height='161' src='/static/camli-header.png' title="Camlistore" border='0' /></a>
|
||||
</div>
|
||||
|
||||
<center><div style="display:block; max-width: 788px;">
|
||||
<div class='bar'><div class='hatecss'>
|
||||
<a href='/'>About</a>
|
||||
<a href='/code/'>Code</a>
|
||||
<a href='/contributors'>Contributors</a>
|
||||
<a href='http://groups.google.com/group/camlistore/'>Mailing List</a>
|
||||
<a href='http://code.google.com/p/camlistore/w/list'>Wiki</a>
|
||||
<a href='http://code.google.com/p/camlistore/issues/list'>Bugs</a>
|
||||
</div></div>
|
||||
</div></center>
|
Loading…
Reference in New Issue