Use path relative to document root as reponame if published via a web server.
The full path is still displayed when using 'hg serve'.
#header#
<title>#repo|escape#: changelog</title>
<link rel="alternate" type="application/rss+xml"
href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#">
</head>
<body>
<div class="buttons">
<a href="?cmd=tags">tags</a>
<a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
<a type="application/rss+xml" href="?cmd=changelog;style=rss">rss</a>
</div>
<h2>changelog for #repo|escape#</h2>
<form action="#">
<p>
<label for="search1">search:</label>
<input type="hidden" name="cmd" value="changelog">
<input name="rev" id="search1" type="text" size="30">
navigate: <small>#changenav%naventry#</small>
</p>
</form>
#entries%changelogentry#
<form action="#">
<p>
<label for="search2">search:</label>
<input type="hidden" name="cmd" value="changelog">
<input name="rev" id="search2" type="text" size="30">
navigate: <small>#changenav%naventry#</small>
</p>
</form>
#footer#