hgwerc
view README @ 2:7ac7dee24f7f
fixed tags.tmpl
| author | yiyus@1936 |
|---|---|
| date | Thu Sep 03 21:09:34 2009 +0200 (2009-09-03 ago) |
| parents | |
| children |
1 To use this hg template, some modifications to hgwebdir_mod.py are needed:
3 ; diff /usr/lib/python2.6/site-packages/mercurial/hgweb/hgwebdir_mod.py hgwebdir_mod.py
4 297,305d296
5 < def extra1(**map):
6 < yield tmpl("extra1", **map)
7 <
8 < def extra2(**map):
9 < yield tmpl("extra2", **map)
10 <
11 < def extra3(**map):
12 < yield tmpl("extra3", **map)
13 <
14 338,340d328
15 < "extra1": extra1,
16 < "extra2": extra2,
17 < "extra3": extra3,
19 This will allow to use {extra1}, {extra2} and {extra3} to add the template files extra1.tmpl,
20 extra2.tmpl and extra3.tmpl