minor code cosmetics (declare version first)
[sheet.git] / termcol.plp
index 9e9ad19858df894915ec08ef981db9b803e13683..0eb10b2dd259bc699ac9612615fe5925b91d7bed 100644 (file)
@@ -1,13 +1,7 @@
-<:
-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">
@@ -16,7 +10,7 @@ $header{content_type} = 'text/html; charset=utf-8';
 <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">
+<:= stylesheet(qw'light') :>
 </head>
 
 <body id="colour">