hg site extension
 
(Arne Babenhauserheide)
2011-11-24: FIX templating (strong not finished).

FIX templating (strong not finished).

diff --git a/site.py b/site.py
--- a/site.py
+++ b/site.py
@@ -107,7 +107,7 @@ def writeoverview(ui, repo, target, name
     overview += "\n<h2>Changes (<a href='commits'>full changelog</a>)</h2>\n"
     ui.pushbuffer()
     t = cmdutil.changeset_templater(ui, repo, patch=False, diffopts=None, mapfile=None, buffered=False)
-    t.use_template("""<div style='float: right; padding-left: 0.5em'><em>({author|person})</em></div><strong> {date|shortdate}: <a href='commit/{node}.html'>{desc|strip|fill68|firstline}</a> <span style='font-size: xx-small'>{branches} {tags} {bookmarks}</span><p>{desc|escape}</p>\n""")
+    t.use_template(templates["commitlog"])
     for c in range(1, min(len(repo.changelog), 5)):
         ctx = repo.changectx(str(-c))
         t.show(ctx)