about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/WwwCoderepo.pm12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/PublicInbox/WwwCoderepo.pm b/lib/PublicInbox/WwwCoderepo.pm
index fb510b28..6c119b28 100644
--- a/lib/PublicInbox/WwwCoderepo.pm
+++ b/lib/PublicInbox/WwwCoderepo.pm
@@ -55,8 +55,16 @@ sub summary_finish {
         # git log
         my @r = split(/\n/s, pop(@x) // '');
         my $last = pop(@r) if scalar(@r) > $ctx->{wcr}->{summary_log};
-        print $zfh '<pre><a id=log>$</a> '.
-                "git log --pretty=format:'%h %s (%cs)%d'\n";
+        print $zfh <<EOM;
+<pre>
+<a
+href='#readme'>about</a> <a
+href='#heads'>heads</a> <a
+href='#tags'>tags</a>
+
+<a
+id=log>\$</a> git log --pretty=format:'%h %s (%cs)%d'
+EOM
         for (@r) {
                 my $d; # decorations
                 s/^ \(([^\)]+)\)// and $d = $1;