Render the primary category as bold in cross reference listings.

This commit is contained in:
John Fieber 1997-02-04 15:28:45 +00:00
parent d9673d368a
commit 61a99983b1
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=1121
2 changed files with 12 additions and 2 deletions

View file

@ -95,7 +95,12 @@ sub main {
$data{$i} .= "<BR><EM>Also listed in:</EM> ";
foreach $j (@cat) {
if ($j ne $i) {
$data{$i} .= " <A HREF=\"$j.html#$name\">\u$j</A>,";
if ($j eq $cat[0]) {
$data{$i} .= " <STRONG><A HREF=\"$j.html#$name\">\u$j</A></STRONG>,";
}
else {
$data{$i} .= " <A HREF=\"$j.html#$name\">\u$j</A>,";
}
}
}
# remove the trailing comma

View file

@ -95,7 +95,12 @@ sub main {
$data{$i} .= "<BR><EM>Also listed in:</EM> ";
foreach $j (@cat) {
if ($j ne $i) {
$data{$i} .= " <A HREF=\"$j.html#$name\">\u$j</A>,";
if ($j eq $cat[0]) {
$data{$i} .= " <STRONG><A HREF=\"$j.html#$name\">\u$j</A></STRONG>,";
}
else {
$data{$i} .= " <A HREF=\"$j.html#$name\">\u$j</A>,";
}
}
}
# remove the trailing comma