Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 34611:c879fc7bd71f
configitems: register the 'web.logoimg' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 11 Oct 2017 04:16:05 +0200 |
parents | 625202a44d88 |
children | c2cb6be4212f |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Wed Oct 11 04:15:48 2017 +0200 +++ b/mercurial/hgweb/hgweb_mod.py Wed Oct 11 04:16:05 2017 +0200 @@ -169,7 +169,7 @@ port = port != default_port and (':' + port) or '' urlbase = '%s://%s%s' % (proto, req.env['SERVER_NAME'], port) logourl = self.config('web', 'logourl', 'https://mercurial-scm.org/') - logoimg = self.config('web', 'logoimg', 'hglogo.png') + logoimg = self.config('web', 'logoimg') staticurl = self.config('web', 'staticurl') or req.url + 'static/' if not staticurl.endswith('/'): staticurl += '/'