dieren: proposed ideas for *pad, *bij
[sheet.git] / countries.plp
index 18b986073695f91c1c530520bd3dcc4ff6c667c8..dfe9a4859a96d362cad0c22db24da7cfbe2f1f91 100644 (file)
@@ -2,21 +2,22 @@
 
 Html({
        title => 'country code cheat sheet',
-       version => 'v1.1',
+       version => '1.3',
        description =>
                "Table of ISO-3166-1 country codes with the names of reserved territories.",
        keywords => [qw'country code cc tld cctld continent territory land table'],
        stylesheet => [qw'light dark circus mono red'],
+       data => ['data/countries.inc.pl'],
 });
 
 :>
 <h1>ISO-3166-1α2 Country codes</h1>
 
 <:
-my $cc = do 'countries.inc.pl';
+my $cc = do 'data/countries.inc.pl';
 
 {
-       printf '<table class="mcmap">';
+       printf '<table class="ccmap">';
        print '<col><colgroup span="26">';
        for my $section (qw{thead}) {
                print "<$section><tr><th>↳";
@@ -56,7 +57,7 @@ my $cc = do 'countries.inc.pl';
                }
                print "\n";
        }
-       print "</table>\n";
+       say '</table>';
 }
 
 :>