diff --git a/templates/gitweb/map b/templates/gitweb/map
--- a/templates/gitweb/map
+++ b/templates/gitweb/map
@@ -41,9 +41,9 @@ tagentry = '
<
diffblock = '#lines#
'
changelogtag = '
tag: | #tag|escape# |
'
changesettag = 'tag | #tag|escape# |
'
-filediffparent = 'parent #rev#: | #node|short# |
'
+filediffparent = 'parent {rev}: | {node|short} |
'
filelogparent = 'parent #rev#: | #node|short# |
'
-filediffchild = 'child #rev#: | #node|short# |
'
+filediffchild = 'child {rev}: | {node|short} |
'
filelogchild = 'child #rev#: | #node|short# |
'
shortlog = shortlog.tmpl
shortlogentry = '#date|age# ago | #author# | #desc|strip|firstline|escape# | changeset | manifest |
'