use EscapeHTML() from PLP v3.23
[sheet.git] / index.plp
index 21186125e0062fb2d77c61a537edff0610cc7476..096a6b5f9549a6c151583091692bb76b233da33a 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -1,11 +1,5 @@
-<:
-use utf8;
-use strict;
-use warnings;
-
-our $VERSION = 'v1.0';
-
-$header{content_type} = "text/html; charset=utf-8";
+<(common.inc.plp)><:
+       our $VERSION = 'v1.0';
 
 :><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
@@ -13,8 +7,8 @@ $header{content_type} = "text/html; charset=utf-8";
 
 <head>
 <meta http-equiv="content-type" content="<:= $header{content_type} :>">
-<title>vi cheat sheet</title>
-<link rel="stylesheet" type="text/css" media="all" href="base.css">
+<title>cheat sheets</title>
+<:= stylesheet(qw'light dark') :>
 <style type="text/css">
        ul {
                margin-bottom: 1ex;