diff --git a/mercurial/templates/template-vars.txt b/mercurial/templates/template-vars.txt
--- a/mercurial/templates/template-vars.txt
+++ b/mercurial/templates/template-vars.txt
@@ -28,6 +28,10 @@ diff          a diff of one or more file
 annotate      an annotated file
 entries       the entries relevant to the page
 
+url           base url of hgweb interface
+staticurl     base url for static resources
+
+
 Templates and commands:
   changelog(rev) - a page for browsing changesets
     naventry - a link for jumping to a changeset number