Creating new hgweb + hgwebdir theme

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Nov 23 07:29:30 UTC 2010


On Mon, Nov 22, 2010 at 23:56, Philip Pemberton <lists at philpem.me.uk> wrote:
> Question: do templates have to be installed in (say)
> /usr/share/mercurial/templates, or will Hg pick them up if I put them in the
> same directory as Hgweb.cgi / hgwebdir.cgi?

You can point your hgweb install to your templates dir by setting the
web.templates variables in a hgrc.

> Also, has anyone created any alternative themes, besides those included with
> Hgweb?

Mozilla has a slightly different version of gitweb, but I'm not aware
of any interesting themes here. One problem is that the hg templater
is relatively limited.

Cheers,

Dirkjan



More information about the Mercurial mailing list