- my @info = do "emoji-$system.inc.pl";
- printf '<div class="section"><h3>%s</h3>'."\n\n", $system;
- print '<table><tbody>'."\n";
- for (my $i = 0; $i <= $#info; $i++) {
- my $name = $info[$i];
- unless (ref $info[$i+1] eq 'ARRAY') {
- printf '</table><table><tbody>'."\n", $name;
+ my @info = Data("emoji-$system");
+ my $meta = shift @info;
+ ref $meta eq 'HASH' or Abort("Invalid $system definitions", 404);
+ my $title = $meta->{name} // $system;
+ $title = showlink($title, $_) for $meta->{source} || ();
+
+ say sprintf '<div class="section"><h2>%s</h2>', $meta->{name} // $system;
+ say '<table><tbody>';
+ for my $row (@info) {
+ unless (ref $row eq 'ARRAY') {
+ say '</table><table><tbody>';