index page to list and link all public pages
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 27 Apr 2009 14:11:12 +0000 (14:11 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 27 Apr 2009 14:11:12 +0000 (14:11 +0000)
index.plp

index 789607b..7cf10f5 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -1,8 +1,60 @@
 <:
-$header{Status}   = '302 Go right ahead';
-$header{Location} = '/vim';
-:><html>
-<body>
-<p>Mainly just the <a href="/vim">Vim sheet</a> so far...</p>
-</body>
-</html>
+use utf8;
+use strict;
+use warnings;
+
+our $VERSION = 'v1.0';
+
+$header{content_type} = "text/html; charset=utf-8";
+
+:><!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">
+<style>
+       ul {
+               text-align: center;
+               margin-bottom: 1ex;
+       }
+</style>
+</head>
+
+<body id="vim">
+
+<h1>Shiar's cheat sheets</h1>
+
+<p>
+Through the miracle of formatting, design, abbreviation, compression, and Perl,
+the following topics have been condensed into single pages of reference.
+<br>
+Originally created by Mischa <span style="font-variant:small-caps">Poslawsky</span>,
+but you're free to use, print, alter, and redistribute under the AGPL license.
+</p>
+
+<h2>Keyboard maps</h2>
+<ul>
+<li><a href="/vim">vi/vim</a>
+<li><a href="/vimperator">vimperator</a>
+<li><a href="/nethack">nethack</a>
+<li><a href="/bash">readline/bash</a>
+</ul>
+
+<h2>Unicode characters</h2>
+<ul>
+<li><a href="/digraphs">digraphs</a>
+<li><a href="/charset">charsets</a>
+<li><a href="/unicode">common glyphs</a>
+</ul>
+
+<p class="footer">
+       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</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>
+</p>
+