diff --git a/templates/coal/changeset.tmpl b/templates/coal/changeset.tmpl
--- a/templates/coal/changeset.tmpl
+++ b/templates/coal/changeset.tmpl
@@ -9,8 +9,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
- <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
- <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
+ <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+ <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
  <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>
diff --git a/templates/coal/fileannotate.tmpl b/templates/coal/fileannotate.tmpl
--- a/templates/coal/fileannotate.tmpl
+++ b/templates/coal/fileannotate.tmpl
@@ -10,8 +10,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
-<li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 
diff --git a/templates/coal/filediff.tmpl b/templates/coal/filediff.tmpl
--- a/templates/coal/filediff.tmpl
+++ b/templates/coal/filediff.tmpl
@@ -10,8 +10,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
-<li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>
diff --git a/templates/coal/filelog.tmpl b/templates/coal/filelog.tmpl
--- a/templates/coal/filelog.tmpl
+++ b/templates/coal/filelog.tmpl
@@ -15,8 +15,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
-<li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>
diff --git a/templates/coal/filerevision.tmpl b/templates/coal/filerevision.tmpl
--- a/templates/coal/filerevision.tmpl
+++ b/templates/coal/filerevision.tmpl
@@ -10,8 +10,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
-<li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>
diff --git a/templates/coal/graph.tmpl b/templates/coal/graph.tmpl
--- a/templates/coal/graph.tmpl
+++ b/templates/coal/graph.tmpl
@@ -15,7 +15,7 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
 <li class="active">graph</li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
diff --git a/templates/coal/manifest.tmpl b/templates/coal/manifest.tmpl
--- a/templates/coal/manifest.tmpl
+++ b/templates/coal/manifest.tmpl
@@ -10,8 +10,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
-<li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>
diff --git a/templates/coal/shortlog.tmpl b/templates/coal/shortlog.tmpl
--- a/templates/coal/shortlog.tmpl
+++ b/templates/coal/shortlog.tmpl
@@ -15,7 +15,7 @@
 </div>
 <ul>
 <li class="active">log</li>
-<li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>