mercurial/hgweb/hgwebdir_mod.py
changeset 13964 616ad3f6fd33
parent 13821 a35aff48d577
child 13975 938fbeacac84
--- a/mercurial/hgweb/hgwebdir_mod.py	Tue Apr 19 12:42:53 2011 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py	Tue Apr 19 23:37:06 2011 -0400
@@ -347,6 +347,7 @@
 
         start = url[-1] == '?' and '&' or '?'
         sessionvars = webutil.sessionvars(vars, start)
+        logourl = config('web', 'logourl', 'http://mercurial.selenic.com/')
         staticurl = config('web', 'staticurl') or url + 'static/'
         if not staticurl.endswith('/'):
             staticurl += '/'
@@ -356,6 +357,7 @@
                                              "footer": footer,
                                              "motd": motd,
                                              "url": url,
+                                             "logourl": logourl,
                                              "staticurl": staticurl,
                                              "sessionvars": sessionvars})
         return tmpl