hgweb: make anchor name actually match its href on help index page

This commit is contained in:
Anton Shestakov 2016-09-26 16:12:40 +08:00
parent 55983533a4
commit 9edbb61202
4 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@
<div class="title">&nbsp;</div>
<table cellspacing="0">
<tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
<tr><td colspan="2"><h2><a name="topics" href="#topics">Topics</a></h2></td></tr>
{topics % helpentry}
{if(earlycommands, '

View File

@ -35,7 +35,7 @@
<h2 class="no-link no-border">help</h2>
<table cellspacing="0">
<tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
<tr><td colspan="2"><h2><a name="topics" href="#topics">Topics</a></h2></td></tr>
{topics % helpentry}
{if(earlycommands, '

View File

@ -32,7 +32,7 @@
<div id="hint">{searchhint}</div>
</form>
<table class="bigtable">
<tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
<tr><td colspan="2"><h2><a name="topics" href="#topics">Topics</a></h2></td></tr>
{topics % helpentry}
{if(earlycommands, '

View File

@ -1828,7 +1828,7 @@ Dish up an empty repo; serve it cold.
number or hash, or <a href="/help/revsets">revset expression</a>.</div>
</form>
<table class="bigtable">
<tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
<tr><td colspan="2"><h2><a name="topics" href="#topics">Topics</a></h2></td></tr>
<tr><td>
<a href="/help/config">
@ -2880,7 +2880,7 @@ Sub-topic indexes rendered properly
number or hash, or <a href="/help/revsets">revset expression</a>.</div>
</form>
<table class="bigtable">
<tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
<tr><td colspan="2"><h2><a name="topics" href="#topics">Topics</a></h2></td></tr>
<tr><td>
<a href="/help/internals.bundles">