mercurial/hgweb/hgweb_mod.py
changeset 13964 616ad3f6fd33
parent 13959 141f88ae5276
child 13966 a1c31c64bcd3
--- a/mercurial/hgweb/hgweb_mod.py	Tue Apr 19 12:42:53 2011 +0200
+++ b/mercurial/hgweb/hgweb_mod.py	Tue Apr 19 23:37:06 2011 -0400
@@ -233,6 +233,7 @@
         port = req.env["SERVER_PORT"]
         port = port != default_port and (":" + port) or ""
         urlbase = '%s://%s%s' % (proto, req.env['SERVER_NAME'], port)
+        logourl = self.config("web", "logourl", "http://mercurial.selenic.com/")
         staticurl = self.config("web", "staticurl") or req.url + 'static/'
         if not staticurl.endswith('/'):
             staticurl += '/'
@@ -272,6 +273,7 @@
 
         tmpl = templater.templater(mapfile,
                                    defaults={"url": req.url,
+                                             "logourl": logourl,
                                              "staticurl": staticurl,
                                              "urlbase": urlbase,
                                              "repo": self.reponame,