use EscapeHTML() from PLP v3.23
[sheet.git] / index.plp
index 8bf233c0696c53a45e8ca65bd82610b6db41a30c..096a6b5f9549a6c151583091692bb76b233da33a 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -1,23 +1,16 @@
-<:
-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">
 <html>
 
 <head>
-<title>vi cheat sheet</title>
 <meta http-equiv="content-type" content="<:= $header{content_type} :>">
-<link rel="stylesheet" type="text/css" media="all" href="base.css">
+<title>cheat sheets</title>
+<:= stylesheet(qw'light dark') :>
 <style type="text/css">
        ul {
-               text-align: center;
                margin-bottom: 1ex;
        }
 </style>
@@ -37,10 +30,12 @@ but you're free to use, print, alter, and redistribute under the AGPL license.
 
 <h2>Keyboard maps</h2>
 <ul>
+<li><a href="/readline">readline</a>
 <li><a href="/vim">vi/vim</a>
 <li><a href="/vimperator">vimperator</a>
+<li><a href="/mutt">mutt</a>
 <li><a href="/nethack">nethack</a>
-<li><a href="/readline">readline</a>
+<li><a href="/mplayer">mplayer</a>
 </ul>
 
 <h2>Unicode characters</h2>
@@ -51,10 +46,11 @@ but you're free to use, print, alter, and redistribute under the AGPL license.
 </ul>
 
 <p class="footer">
-       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/
+       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/index.<a
+        href="/source/index.plp" rel="code" title="Written in Perl">plp</a>
        <a href="http://git.shiar.nl/sheet.git" rel="vcs-git" title="Git repository"><:= $VERSION :></a>
        created by <a href="http://shiar.nl/" rel="author">Shiar</a> •
-       <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
-          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>
+       <a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html" rel="copyright"
+        title="Licensed under the GNU Affero General Public License, version 3">AGPLv3</a>
 </p>