-<:
-use utf8;
-use strict;
-use warnings;
-use open IO => ':utf8';
-use List::Util 'min';
-
-our $VERSION = 'v1.0';
+<(common.inc.plp)><:
+ our $VERSION = 'v1.0';
-$header{content_type} = 'text/html; charset=utf-8';
+ use List::Util 'min';
:><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
-<html>
+<html lang="en">
<head>
-<title>terminal colour cheat sheet</title>
<meta http-equiv="content-type" content="utf-8">
-<link rel="stylesheet" type="text/css" media="all" href="/base.css">
+<title>terminal colour cheat sheet</title>
+<meta name="description" content="Index of all terminal/console colour codes, with an example result of various environments.">
+<meta name="keywords" content="color, code, terminal, console, escape, table, xterm, rxvt">
+<:= stylesheet(qw'light dark') :>
+<link rel="icon" type="image/png" href="/clip.png">
</head>
<body id="colour">
print '<table><tr>';
print colcell(80, ($_) x 3) for 46, 92, 115, 139, 162, 185, 208, 231;
print "</table>\n\n";
-:></div>
+:></div>
+<: if ($ENV{PATH_INFO} =~ /256/) { :>
<hr>
<div class="section">
print "</table>\n";
}
print "\n";
-:></div>
+:></div>
+<: } :>
<hr>
<p class="footer">