mercurial/hgweb.py
changeset 1132 92525920ad29
parent 1131 a67982e64109
child 1138 51f26e856f3d
--- a/mercurial/hgweb.py
+++ b/mercurial/hgweb.py
@@ -948,7 +948,8 @@ class hgwebdir:
                 url = os.environ["REQUEST_URI"] + "/" + name
                 url = url.replace("//", "/")
 
-                yield dict(author=get("web", "author", "unknown"),
+                yield dict(contact=get("web", "contact") or
+                                   get("web", "author", "unknown"),
                            name=get("web", "name", name),
                            url=url,
                            parity=parity,