From 78fe6a9e601fcf3ec2983c82edaeb825e61275cf Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 2 Jan 2020 03:09:29 +0000 Subject: 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. --- lib/PublicInbox/WwwListing.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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; } -- cgit v1.2.3-24-ge0c7