mercurial/hgweb/hgweb_mod.py
changeset 14913 44382887d012
parent 13966 a1c31c64bcd3
child 14953 6ee6ecf1ee89
--- a/mercurial/hgweb/hgweb_mod.py	Thu Jul 21 11:05:26 2011 +0200
+++ b/mercurial/hgweb/hgweb_mod.py	Thu Jul 21 15:10:16 2011 +0200
@@ -235,6 +235,7 @@
         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/")
+        logoimg = self.config("web", "logoimg", "hglogo.png")
         staticurl = self.config("web", "staticurl") or req.url + 'static/'
         if not staticurl.endswith('/'):
             staticurl += '/'
@@ -275,6 +276,7 @@
         tmpl = templater.templater(mapfile,
                                    defaults={"url": req.url,
                                              "logourl": logourl,
+                                             "logoimg": logoimg,
                                              "staticurl": staticurl,
                                              "urlbase": urlbase,
                                              "repo": self.reponame,