hg site extension
 
(Arne Babenhauserheide)
2011-10-20: added links to the changelog and the files on the summary page.

added links to the changelog and the files on the summary page.

diff --git a/static.py b/static.py
--- a/static.py
+++ b/static.py
@@ -98,6 +98,8 @@ def writeoverview(ui, repo, target, name
             readme = parsereadme(f)
             overview.write( "\n".join(readme.splitlines()[:3]))
             break
+    # now the links to the log and the files.
+    overview.write("<p><a href='commits'>changelog</a> | <a href='src'>files</a></p>")
     # now add the 5 most recent log entries
     # divert all following ui output to a string, so we can just use standard functions
     overview.write("<h2>Changes (<a href='commits'>full changelog</a>)</h2>")