From: Eric Wong Date: Thu, 2 Jan 2020 03:09:29 +0000 (+0000) Subject: wwwlisting: show configured "infourl" properly X-Git-Tag: v1.3.0~158 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=78fe6a9e601fcf3ec2983c82edaeb825e61275cf wwwlisting: show configured "infourl" properly git's config file keys lack underscores, but my mind is wired for underscores :x. Fix the whitespace around the info URL while we're at it, so that it shows up right under the inbox description. --- diff --git a/lib/PublicInbox/WwwListing.pm b/lib/PublicInbox/WwwListing.pm index 7995b315..1faade6c 100644 --- a/lib/PublicInbox/WwwListing.pm +++ b/lib/PublicInbox/WwwListing.pm @@ -89,8 +89,8 @@ sub ibx_entry { * $ts - $url ${\$ibx->description} - if (defined(my $info_url = $ibx->{info_url})) { - $tmp .= "\n$info_url"; + if (defined(my $info_url = $ibx->{infourl})) { + $tmp .= ' ' . $info_url . "\n"; } $tmp; }