summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-08-15 08:01:19 +0200
committerYorhel <git@yorhel.nl>2019-08-15 08:01:19 +0200
commit30cdc48d9ddbfe5223ebcfe5cdff3cdab372d894 (patch)
treea740b0be185cee4f226c59800556b751576ef4df
parent92d04b4e0fe90c44c66dd646dffd3600d2578794 (diff)
Fix display of official homepage on producer pages
-rw-r--r--lib/VNDB/Util/Misc.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VNDB/Util/Misc.pm b/lib/VNDB/Util/Misc.pm
index a8aac323..577a335f 100644
--- a/lib/VNDB/Util/Misc.pm
+++ b/lib/VNDB/Util/Misc.pm
@@ -172,7 +172,8 @@ sub entryLinks {
push @links, map [ $title, sprintf $url, $xform ? $xform->($_) : $_ ], ref $v ? @$v : $v ? ($v) : ();
};
- $lnk->($obj->{l_site}, 'Official website', '%s'); # Homepage always comes first
+ $lnk->($obj->{l_site}, 'Official website', '%s'); # (staff) Homepage always comes first
+ $lnk->($obj->{website}, 'Official website', '%s'); # (producers)
$lnk->($w->{enwiki}, 'Wikipedia (en)', 'https://en.wikipedia.org/wiki/%s', sub { shift =~ s/ /_/rg });
$lnk->($w->{jawiki}, 'Wikipedia (ja)', 'https://ja.wikipedia.org/wiki/%s', sub { shift =~ s/ /_/rg });
$lnk->($obj->{l_wikidata}, 'Wikidata', 'https://www.wikidata.org/wiki/Q%d');