use html5 elements (section, footer)
[sheet.git] / index.plp
index d0a791f369ea2a588d168838b2d2700a8a5a8b2a..1a48c15d1cbb50df7e3e12bd6bb60a7a158130d0 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -1,20 +1,18 @@
 <(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 lang="en">
-
-<head>
-<meta http-equiv="content-type" content="<:= $header{content_type} :>">
-<title>cheat sheets</title>
-<meta name="description" content="Cheat sheets summarising various software programs and standards.">
-<meta name="keywords" content="sheet, cheat, reference, software, overview, summary, help, keyboard, map, unicode">
-<:= stylesheet(qw'light dark red') :>
-</head>
-
-<body id="index">
 
+Html({
+       title => 'cheat sheets',
+       version => 'v1.3',
+       description => [
+               "Cheat sheets summarising various software programs and standards.",
+       ],
+       keywords => [qw'
+               sheet cheat reference software overview summary help keyboard map unicode
+       '],
+       stylesheet => [qw'light dark red'],
+});
+
+:>
 <h1>Shiar's cheat sheets</h1>
 
 <p>
@@ -25,33 +23,32 @@ Originally created by Mischa <span style="font-variant:small-caps">Poslawsky</sp
 but you're free to use, print, alter, and redistribute under the AGPL license.
 </p>
 
-<div class="section">
+<section>
 <h2>Keyboard maps</h2>
 <ul>
 <li><a href="/readline">readline</a>
-<li><a href="/vim">vi/vim</a>
+<li><a href="/vi">vi/vim</a>
 <li><a href="/vimperator">vimperator</a>
 <li><a href="/mutt">mutt</a>
 <li><a href="/nethack">nethack</a>
 <li><a href="/mplayer">mplayer</a>
 </ul>
-</div>
+</section>
 
-<div class="section">
+<section>
 <h2>Unicode characters</h2>
 <ul>
-<li><a href="/digraphs">digraphs</a>
 <li><a href="/charset">charsets</a>
 <li><a href="/unicode">common glyphs</a>
+<li><a href="/digraphs">digraphs</a>
 </ul>
-</div>
+</section>
 
-<p class="footer">
-       <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 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>
+<section>
+<h2>Other references</h2>
+<ul>
+<li><a href="/countries">country codes</a>
+<li><a href="/termcol">terminal colours</a>
+</ul>
+</section>