Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgwebdir_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 | b50c036494dc |
children | c2cb6be4212f |
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py Wed Oct 11 04:15:48 2017 +0200 +++ b/mercurial/hgweb/hgwebdir_mod.py Wed Oct 11 04:16:05 2017 +0200 @@ -511,7 +511,7 @@ start = url[-1] == '?' and '&' or '?' sessionvars = webutil.sessionvars(vars, start) logourl = config('web', 'logourl', 'https://mercurial-scm.org/') - logoimg = config('web', 'logoimg', 'hglogo.png') + logoimg = config('web', 'logoimg') staticurl = config('web', 'staticurl') or url + 'static/' if not staticurl.endswith('/'): staticurl += '/'