only link to homepage if it's non-empty

closes #7
This commit is contained in:
Aaron Bieber 2024-02-22 16:30:18 -07:00
parent 2d4cade491
commit b2f0af2cce
No known key found for this signature in database

View File

@ -364,10 +364,14 @@ __DATA__
</li>
<ul>
<li>
% if ($result->{HOMEPAGE} ne "") {
<a
href="<%= $result->{HOMEPAGE} %>"
title="Home page for <%= $result->{FULLPKGNAME} %>"
>Home page</a>
% } else {
<s>Home page</s>
% }
</li>
<li>
<a href="/tree?name=<%= $result->{FULLPKGPATH} %>"